Skip to content

Commit a15cbdf

Browse files
committed
axis: Fix run-from-line - bug #2771
1 parent 5bd26b6 commit a15cbdf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/emc/usr_intf/axis/scripts

src/emc/usr_intf/axis/scripts/axis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,9 +2340,8 @@ def task_run(*event):
23402340
res = 1
23412341
while res == 1:
23422342
res = run_warn()
2343-
if res == 2: break
2343+
if res in [0, 2]: break
23442344
if res == 3: return
2345-
print("reload file")
23462345
reload_file()
23472346

23482347
global program_start_line, program_start_line_last

0 commit comments

Comments
 (0)