mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
feat: improve code quality by fixing typos, adding print statements to exception blocks, remove unused imports etc
This commit is contained in:
@@ -247,8 +247,8 @@ def flush_log_buffer(): # credits to claude
|
||||
for log_entry in state.log_buffer:
|
||||
MainWindow.add_log(log_entry)
|
||||
state.log_buffer = []
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
consoleLog(f"Exception while flushing log buffer: {e}")
|
||||
|
||||
def consoleLog(text, printAnyways = False):
|
||||
now = datetime.now()
|
||||
|
||||
Reference in New Issue
Block a user