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:
parent
677d33e448
commit
9f7fc73441
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue