mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-05 13:56:51 +01:00
Remove empty line after init in logger
This commit is contained in:
1 parent
d68353e31b
commit
248d7bbca0
1 file changed
+1
-4
@@ -29,13 +29,10 @@ class ConsoleFormatter(logging.Formatter):
|
||||
|
||||
class BotLogger(object):
|
||||
def __init__(self, debug=None, data_location=None):
|
||||
|
||||
self.log_location = data_location
|
||||
self.log_level = debug
|
||||
|
||||
if self.log_level:
|
||||
if debug:
|
||||
self.log_level = logging.DEBUG
|
||||
|
||||
else:
|
||||
self.log_level = logging.INFO
|
||||
|
||||
|
||||
Reference in new issue
Block a user