From 22ea3dd620693480ecaec942918d7c42167f054b Mon Sep 17 00:00:00 2001 From: Jaret Burkett Date: Thu, 16 Apr 2026 21:09:52 +0000 Subject: [PATCH] Fixed issue on some systems where Logger didnt have atty --- toolkit/print.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolkit/print.py b/toolkit/print.py index e0f6c23..4d26d24 100644 --- a/toolkit/print.py +++ b/toolkit/print.py @@ -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):