Remove empty line after init in logger

This commit is contained in:
Ev-1 committed 2022-10-03 22:53:55 +02:00
1 parent d68353e31b
commit 248d7bbca0
1 file changed
+1 -4
+1 -4
View File
@@ -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