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 authored and Alfredo Monclus committed 2022-09-02 19:58:35 -03:00
1 parent 97f170ba59
commit 1704276c2d
1 file changed
+1 -1
+1 -1
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
]