mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix PEP8 for bare exceptions
This commit is contained in:
parent
52c6096b6a
commit
018ded07d6
13 changed files with 126 additions and 126 deletions
|
@ -60,7 +60,7 @@ class Game(object):
|
|||
logger.postprocess("moving files to library: {0}".format(library), section)
|
||||
try:
|
||||
shutil.move(dir_name, os.path.join(library, input_name))
|
||||
except:
|
||||
except Exception:
|
||||
logger.error("Unable to move {0} to {1}".format(dir_name, os.path.join(library, input_name)), section)
|
||||
return [1, "{0}: Failed to post-process - Unable to move files".format(section)]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue