Ruff fix
This commit is contained in:
parent
b9e9e29210
commit
417da8d1d7
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ def serve_from_cli(argv: Optional[list[str]] = None) -> None:
|
|||
configure_logging(application_config.log_folder)
|
||||
|
||||
server = lt.ThingServer.from_config(lt_config)
|
||||
debug = True if args.debug else False
|
||||
debug = bool(args.debug)
|
||||
customise_server(server, application_config, debug)
|
||||
|
||||
def shutdown_call() -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue