Refactor if statement
Refactor if statement
This commit is contained in:
committed by
Yorik van Havre
parent
36c831509e
commit
42b6fafd5a
@@ -114,7 +114,7 @@ def export(objectslist, filename, argstring):
|
||||
gcode = dia.editor.toPlainText()
|
||||
|
||||
# Save to file
|
||||
if not filename == '-':
|
||||
if filename != '-':
|
||||
gfile = open(filename, "w")
|
||||
gfile.write(gcode)
|
||||
gfile.close()
|
||||
|
||||
Reference in New Issue
Block a user