We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
connect_url
Optional[bool]
1 parent 07a1499 commit 2e2bd68Copy full SHA for 2e2bd68
prusa/connect/printer/__init__.py
@@ -365,7 +365,7 @@ def connection_from_config(self, path: str):
365
config.read(path)
366
367
host = config['service::connect']['hostname']
368
- tls = config['service::connect'].getboolean('tls')
+ tls = config['service::connect'].getboolean('tls', fallback=False)
369
port = config['service::connect'].getint('port', fallback=0)
370
371
server = Printer.connect_url(host, tls, port)
0 commit comments