changing the extension breaks post process on mylar

works fine on mylar dev branch
This commit is contained in:
vergessen 2014-06-05 20:03:36 -05:00
commit 60559ffdc1
2 changed files with 7 additions and 10 deletions

View file

@ -505,7 +505,7 @@ def main(args, section=None):
# All checks done, now launching the script.
clientAgent = 'nzbget'
result = process(os.environ['NZBPP_DIRECTORY'], inputName=os.environ['NZBPP_NZBFILENAME'], status=status,
result = process(os.environ['NZBPP_DIRECTORY'], inputName=os.environ['NZBPP_NZBNAME'], status=status,
clientAgent=clientAgent, download_id=download_id, inputCategory=os.environ['NZBPP_CATEGORY'])
# SABnzbd Pre 0.7.17
elif len(args) == nzbtomedia.SABNZB_NO_OF_ARGUMENTS:
@ -588,4 +588,4 @@ def main(args, section=None):
if __name__ == '__main__':
exit(main(sys.argv))
exit(main(sys.argv))