mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-03-12 12:35:28 -07:00
Fix flake8-commas C819 trailing comma prohibited
This commit is contained in:
parent
14b2aa6bf4
commit
c5244df510
@ -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…
x
Reference in New Issue
Block a user