Default `debug` to `None` to attempt to allow propagation of default debug settings

This commit is contained in:
Tony Garnock-Jones 2024-03-30 09:05:41 +01:00
parent e5b65ad0ed
commit a4c0bf3e6f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class System:
self.inhabitant_count = 0
self.exit_signal = asyncio.Queue()
def run(self, boot_proc, debug = False, name = None, configure_logging = True):
def run(self, boot_proc, debug = None, name = None, configure_logging = True):
if configure_logging:
logging.basicConfig(level = logging.DEBUG if debug else logging.INFO)
if debug: