diff --git a/.bumpversion.cfg b/.bumpversion.cfg index cc1a1057..1edaabcf 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 12.1.00 +current_version = 12.1.01 commit = True tag = False diff --git a/core/__init__.py b/core/__init__.py index 55b8acba..76798031 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -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'] diff --git a/nzbToMedia.py b/nzbToMedia.py index a6139fe3..2ab16d59 100755 --- a/nzbToMedia.py +++ b/nzbToMedia.py @@ -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': diff --git a/setup.py b/setup.py index a115dfa2..5e79ab2c 100644 --- a/setup.py +++ b/setup.py @@ -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="""