Fixed issue on some systems where Logger didnt have atty
This commit is contained in:
1 parent
ab1ee4df34
commit
22ea3dd620
1 file changed
+3
@@ -21,6 +21,9 @@ class Logger:
|
||||
def flush(self):
|
||||
self.terminal.flush()
|
||||
self.log.flush()
|
||||
|
||||
def isatty(self):
|
||||
return self.terminal.isatty()
|
||||
|
||||
|
||||
def setup_log_to_file(filename):
|
||||
|
||||
Reference in new issue
Block a user