data["print"] is now a boolean, so we don't need to check against valid_boolean_trues anymore but can use it directly instead

Fixes #317
This commit is contained in:
Gina Häußge 2013-11-25 16:54:44 +01:00
parent 677d33e448
commit 9f7fc73441

View file

@ -141,7 +141,7 @@ def gcodeFileCommand(filename, target):
if command == "load":
# selects/loads a file
printAfterLoading = False
if "print" in data.keys() and data["print"] in valid_boolean_trues:
if "print" in data.keys() and data["print"]:
printAfterLoading = True
sd = False