Adding logging breaks the console as typing "exit()" generates a traceback:
Traceback (most recent call last):
File "C:\Users\Andre\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Andre\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Andre\github\ideas\ideas\__main__.py", line 141, in <module>
main()
File "C:\Users\Andre\github\ideas\ideas\__main__.py", line 138, in main
console.start()
File "C:\Users\Andre\github\ideas\ideas\console.py", line 200, in start
console.interact(banner=banner)
File "C:\Users\Andre\AppData\Local\Programs\Python\Python310\lib\code.py", line 232, in interact
more = self.push(line)
File "C:\Users\Andre\github\ideas\ideas\console.py", line 100, in push
more = self.runsource(source, CONSOLE_NAME)
File "C:\Users\Andre\github\ideas\ideas\console.py", line 171, in runsource
self.runcode(code_obj)
File "C:\Users\Andre\AppData\Local\Programs\Python\Python310\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "Ideas Console", line -1, in <module>
File "C:\Users\Andre\AppData\Local\Programs\Python\Python310\lib\_sitebuiltins.py", line 26, in __call__
raise SystemExit(code)
SystemExit: None
Reverts aroberge/ideas#32
Adding logging breaks the console as typing "exit()" generates a traceback: