mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-10 16:46:52 -07:00
Fix flake8-commas C819 trailing comma prohibited
This commit is contained in:
parent
14b2aa6bf4
commit
c5244df510
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ class NTMRotatingLogHandler(object):
|
|||
'postprocess': logging.Formatter('[%(asctime)s] [%(levelname)s]::%(message)s', '%H:%M:%S'),
|
||||
'db': logging.Formatter('[%(asctime)s] [%(levelname)s]::%(message)s', '%H:%M:%S'),
|
||||
},
|
||||
logging.Formatter('%(message)s'), ))
|
||||
logging.Formatter('%(message)s')))
|
||||
|
||||
# add the handler to the root logger
|
||||
logging.getLogger('nzbtomedia').addHandler(console)
|
||||
|
@ -124,7 +124,7 @@ class NTMRotatingLogHandler(object):
|
|||
'postprocess': logging.Formatter('%(asctime)s %(levelname)-8s::%(message)s', '%Y-%m-%d %H:%M:%S'),
|
||||
'db': logging.Formatter('%(asctime)s %(levelname)-8s::%(message)s', '%Y-%m-%d %H:%M:%S'),
|
||||
},
|
||||
logging.Formatter('%(message)s'), ))
|
||||
logging.Formatter('%(message)s')))
|
||||
|
||||
return file_handler
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue