fixed gcode name generation
This commit is contained in:
parent
249b3a3f6b
commit
90f4258f5f
1 changed files with 1 additions and 1 deletions
|
|
@ -474,9 +474,9 @@ def gcodeConvertCommand():
|
|||
name, _ = os.path.splitext(filename)
|
||||
gcode_name = name + ".gco"
|
||||
|
||||
name, ext = os.path.splitext(gcode_name)
|
||||
i = 1;
|
||||
while(fileManager.file_exists(target, gcode_name)):
|
||||
name, ext = os.path.splitext(gcode_name)
|
||||
gcode_name = name+'.'+str(i)+ext
|
||||
i += 1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue