Commit 4f43b32c authored by Olaf's avatar Olaf

Set filename to none for non continued calculations

parent 9b6d5657
......@@ -569,7 +569,10 @@ class Settings:
self.startsave = 0
try:
self.continuecalc = sets['continue_calc']
if sets['file_name'] == 'none':
self.continuecalc = False
else:
self.continuecalc = sets['continue_calc']
except:
self.continuecalc = False
......@@ -577,7 +580,6 @@ class Settings:
self.filename = sets['file_name']
except:
self.filename = 'none'
self.continuecalc = 'False'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment