config: silently remove quotes from the api_key
This fixes a user error where it copies the quotes too
This commit is contained in:
parent
97f170ba59
commit
1704276c2d
@ -89,7 +89,7 @@ class KlipperScreenConfig:
|
|||||||
{printer[8:]: {
|
{printer[8:]: {
|
||||||
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
|
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
|
||||||
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
|
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
|
||||||
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="")
|
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="").replace('"', '')
|
||||||
}} for printer in printers
|
}} for printer in printers
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user