url separates into multople args. fixes #222

This commit is contained in:
clinton-hall 2014-01-06 19:39:39 +10:30
commit c98604c618
6 changed files with 6 additions and 6 deletions

View file

@ -219,7 +219,7 @@ elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
clientAgent = "sabnzbd"
result = autoProcessMovie.process(sys.argv[1], sys.argv[2], sys.argv[7], clientAgent)
# SABnzbd 0.7.17+
elif len(sys.argv) == SABNZB_0717_NO_OF_ARGUMENTS:
elif len(sys.argv) >= SABNZB_0717_NO_OF_ARGUMENTS:
# SABnzbd argv:
# 1 The final directory of the job (full path)
# 2 The original name of the NZB file