mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -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
|
@ -82,7 +82,7 @@ def auto_fork(section, input_category):
|
|||
optional_parameters = []
|
||||
try:
|
||||
optional_parameters = r.json()['data']['optionalParameters'].keys()
|
||||
except:
|
||||
except Exception:
|
||||
optional_parameters = r.json()['data']['data']['optionalParameters'].keys()
|
||||
for param in params:
|
||||
if param not in optional_parameters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue