update to v12.1.01

This commit is contained in:
clinton-hall 2019-08-13 18:39:26 +12:00
commit 96f086bdc1
4 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
[bumpversion]
current_version = 12.1.00
current_version = 12.1.01
commit = True
tag = False

View file

@ -83,7 +83,7 @@ from core.utils import (
wake_up,
)
__version__ = '12.1.00'
__version__ = '12.1.01'
# Client Agents
NZB_CLIENTS = ['sabnzbd', 'nzbget', 'manual']

View file

@ -923,7 +923,7 @@ def main(args, section=None):
# 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+2
client_agent = 'sabnzbd'
logger.info('Script triggered from SABnzbd')
result = process(args[1], input_name=args[2], status=args[7], input_category=args[5], client_agent=client_agent,
result = process(args[1], input_name=args[2], status=int(args[7]), input_category=args[5], client_agent=client_agent,
download_id='')
# SABnzbd 0.7.17+
elif len(args) >= core.SABNZB_0717_NO_OF_ARGUMENTS:
@ -938,7 +938,7 @@ def main(args, section=None):
# 8 Failure URL
client_agent = 'sabnzbd'
logger.info('Script triggered from SABnzbd 0.7.17+')
result = process(args[1], input_name=args[2], status=args[7], input_category=args[5], client_agent=client_agent,
result = process(args[1], input_name=args[2], status=int(args[7]), input_category=args[5], client_agent=client_agent,
download_id='', failure_link=''.join(args[8:]))
# Generic program
elif len(args) > 5 and args[5] == 'generic':

View file

@ -23,7 +23,7 @@ def read(*names, **kwargs):
setup(
name='nzbToMedia',
version='12.1.00',
version='12.1.01',
license='GPLv3',
description='Efficient on demand post processing',
long_description="""