Fix flake8 E261 at least two spaces before inline comment

This commit is contained in:
Labrys of Knossos 2019-04-05 12:27:39 -04:00
commit 5f633b931a

View file

@ -256,7 +256,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
return ProcessResult(
message='{0}: Sending failed download back to {0}'.format(section),
status_code=1, # Return as failed to flag this in the downloader.
) # Return failed flag, but log the event as successful.
) # Return failed flag, but log the event as successful.
if delete_failed and os.path.isdir(dir_name) and not os.path.dirname(dir_name) == dir_name:
logger.postprocess('Deleting failed files and folder {0}'.format(dir_name), section)