test
This commit is contained in:
parent
e2cbeee40b
commit
7c3686a55c
@ -47,7 +47,7 @@ def main():
|
|||||||
arr_type = "sonarr"
|
arr_type = "sonarr"
|
||||||
elif "radarr_eventtype" in os.environ:
|
elif "radarr_eventtype" in os.environ:
|
||||||
arr_type = "radarr"
|
arr_type = "radarr"
|
||||||
logwrite.write("Recieved %s Event from %s\n" % ("%s_eventtype" % arr_type, arr_type.upper()))
|
logwrite.write("Recieved %s Event from %s\n" % (eval("%s_eventtype" % arr_type), arr_type.upper()))
|
||||||
|
|
||||||
ENV_FILE = os.path.join(SCRIPT_DIR, "env_%s" % arr_type)
|
ENV_FILE = os.path.join(SCRIPT_DIR, "env_%s" % arr_type)
|
||||||
logwrite.write("%s\n" % ENV_FILE)
|
logwrite.write("%s\n" % ENV_FILE)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user