config: silently remove quotes from the api_key

This fixes a user error where it copies the quotes too
This commit is contained in:
alfrix 2022-08-31 05:34:39 -03:00 committed by Alfredo Monclus
parent 97f170ba59
commit 1704276c2d

View File

@ -89,7 +89,7 @@ class KlipperScreenConfig:
{printer[8:]: {
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
"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
]