Default `debug` to `None` to attempt to allow propagation of default debug settings
This commit is contained in:
parent
e5b65ad0ed
commit
a4c0bf3e6f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue