This commit is contained in:
deathbybandaid 2023-01-06 12:39:47 -05:00
parent 3760cccf1b
commit b708880b9e

View File

@ -47,9 +47,10 @@ def main():
arr_type = "sonarr"
elif "radarr_eventtype" in os.environ:
arr_type = "radarr"
logwrite.write("Recieved Event from %s\n" % arr_type)
logwrite.write("Recieved Event from %s\n" % arr_type.upper())
ENV_FILE = os.path.join(SCRIPT_DIR, "env_%s" % arr_type)
logwrite.write("%s\n" % ENV_FILE)
envs = {}