From fb0ad1d7e66c38f8cb431e5b596f30e0590fd488 Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Tue, 14 May 2019 10:14:55 +0200 Subject: [PATCH] Script execution --- script/templates/EnergyScan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/templates/EnergyScan.py b/script/templates/EnergyScan.py index 232eb4d..d9f441f 100644 --- a/script/templates/EnergyScan.py +++ b/script/templates/EnergyScan.py @@ -79,7 +79,7 @@ newest = getNewestFile() if NO_BEAM_CHECK == False: if not has_beam(): print "Maintenence mode: end of scan" - return + exit if MODE is not None: