Skip to content

Commit

Permalink
Merge pull request #1502 from clinton-hall/dev
Browse files Browse the repository at this point in the history
Hotfix missed process result
  • Loading branch information
labrys authored Jan 5, 2019
2 parents e1fe633 + d2c98dc commit 58e57c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/auto_process/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 58e57c2

Please sign in to comment.