add ".nzb" to nzbget nzbName for SickBeard

fixes https://github.com/Tolstyak/Sick-Beard/issues/16
This commit is contained in:
clinton-hall 2013-05-03 22:10:27 +09:30
commit ba363fa65c
2 changed files with 2 additions and 2 deletions

View file

@ -365,7 +365,7 @@ if os.environ.has_key('NZBOP_SCRIPTDIR') and not os.environ['NZBOP_VERSION'][0:5
download_id = ""
if os.environ.has_key('NZBPR_COUCHPOTATO'):
download_id = os.environ['NZBPR_COUCHPOTATO']
nzbDir, inputName, inputCategory = (os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBNAME'], os.environ['NZBPP_CATEGORY'])
nzbDir, inputName, inputCategory = (os.environ['NZBPP_DIRECTORY'], os.environ['NZBPP_NZBFILENAME'], os.environ['NZBPP_CATEGORY'])
# SABnzbd
elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
# SABnzbd argv: