mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Remove unused variable
This commit is contained in:
parent
93ec74f1c7
commit
a289eef88e
5 changed files with 0 additions and 10 deletions
|
@ -117,18 +117,12 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
|
|||
status_code=1,
|
||||
)
|
||||
|
||||
success = False
|
||||
queued = False
|
||||
started = False
|
||||
try:
|
||||
res = json.loads(r.content)
|
||||
scan_id = int(res['id'])
|
||||
logger.debug('Scan started with id: {0}'.format(scan_id), section)
|
||||
started = True
|
||||
except Exception as e:
|
||||
logger.warning('No scan id was returned due to: {0}'.format(e), section)
|
||||
scan_id = None
|
||||
started = False
|
||||
return ProcessResult(
|
||||
message='{0}: Failed to post-process - Unable to start scan'.format(section),
|
||||
status_code=1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue