Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonlipinski committed Mar 16, 2021
1 parent 7876e3a commit ed05583
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magicbus/plugins/loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from magicbus.compat import ntob, unicodestr
import datetime
import sys

from magicbus.plugins import SimplePlugin


Expand Down Expand Up @@ -52,7 +53,7 @@ def __init__(self, bus, level=None, format=None, encoding=None):
class FileLogger(StreamLogger):

def __init__(self, bus, filename=None, file=None,
level=None, format=None, encoding='utf-8'):
level=None, format=None, encoding='utf8'):
self.filename = filename
if file is None:
if filename is None:
Expand Down

0 comments on commit ed05583

Please sign in to comment.