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:
1 parent
677d33e448
commit
9f7fc73441
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user