Merge tag '12.0.2' into nightly

This commit is contained in:
Labrys of Knossos 2019-01-05 01:02:45 -05:00
commit f14ab17dd5
5 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
[bumpversion]
current_version = 12.0.1
current_version = 12.0.2
commit = True
tag = False

View file

@ -1,4 +1,4 @@
nzbToMedia v12.0.1
nzbToMedia v12.0.2
==================
Provides an [efficient](https://github.com/clinton-hall/nzbToMedia/wiki/Efficient-on-demand-post-processing) way to handle postprocessing for [CouchPotatoServer](https://couchpota.to/ "CouchPotatoServer") and [SickBeard](http://sickbeard.com/ "SickBeard") (and its [forks](https://github.com/clinton-hall/nzbToMedia/wiki/Failed-Download-Handling-%28FDH%29#sick-beard-and-its-forks))

View file

@ -52,7 +52,7 @@ from core.utils import (
resume_torrent, remove_dir, remove_read_only, sanitize_name, update_download_info_status,
)
__version__ = '12.0.1'
__version__ = '12.0.2'
# Client Agents
NZB_CLIENTS = ['sabnzbd', 'nzbget', 'manual']

View file

@ -365,7 +365,10 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
logger.debug('The Scan command return status: {0}'.format(command_status), section)
if command_status in ['completed']:
logger.debug('The Scan command has completed successfully. Renaming was successful.', section)
return [0, '{0}: Successfully post-processed {1}'.format(section, input_name)]
return ProcessResult(
message='{0}: Successfully post-processed {1}'.format(section, input_name),
status_code=0,
)
elif command_status in ['failed']:
logger.debug('The Scan command has failed. Renaming was not successful.', section)
# return ProcessResult(

View file

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