test
This commit is contained in:
parent
9a2b3d0b39
commit
b17371a644
@ -129,6 +129,9 @@ 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"
|
||||||
|
for x in os.environ:
|
||||||
|
if x.startswith("radarr"):
|
||||||
|
loggit("%s: %s" % (x, os.environ[x]))
|
||||||
else:
|
else:
|
||||||
loggit("Could not Detect Radarr or Sonarr", True)
|
loggit("Could not Detect Radarr or Sonarr", True)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user