test
This commit is contained in:
parent
20dad86fc3
commit
9a2b3d0b39
@ -27,7 +27,7 @@ expected_paths_env_variables = {
|
||||
"radarr": {
|
||||
"Download": ["radarr_moviefile_path", "radarr_deletedpaths"],
|
||||
"Rename": ["radarr_moviefile_paths", "radarr_moviefile_previouspaths"],
|
||||
"MovieDelete": ["radarr_moviefile_paths", "radarr_moviefile_previouspaths"]
|
||||
"MovieDelete": ["radarr_movie_path"]
|
||||
},
|
||||
}
|
||||
|
||||
@ -129,9 +129,6 @@ def main():
|
||||
arr["type"] = "sonarr"
|
||||
elif "radarr_eventtype" in os.environ:
|
||||
arr["type"] = "radarr"
|
||||
for x in os.environ:
|
||||
if x.startswith("radarr"):
|
||||
loggit("%s: %s" % (x, os.environ[x]))
|
||||
else:
|
||||
loggit("Could not Detect Radarr or Sonarr", True)
|
||||
sys.exit(0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user