Fixed bug KlipperScreen ignoring moonraker_api_key configuration. (#204)

* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>

* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>

* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>
This commit is contained in:
Henky Prayoga 2021-07-15 12:58:45 +07:00 committed by GitHub
parent f68f9c642b
commit 98a8d68c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ import os
import logging
import json
import re
import copy
from io import StringIO
@ -125,7 +126,7 @@ class KlipperScreenConfig:
}
})
conf_printers_debug = self.printers.copy()
conf_printers_debug = copy.deepcopy(self.printers)
for printer in conf_printers_debug:
name = list(printer)[0]
item = conf_printers_debug[conf_printers_debug.index(printer)]