Skip to content
Snippets Groups Projects
Commit 9e660c47 authored by anphi's avatar anphi
Browse files

bugfix: added default value for parameter 'addpar', since it was not possible...

bugfix: added default value for parameter 'addpar', since it was not possible to NOT set it in the CONTROL file
parent b7c1c04a
Branches
Tags v7.0.4.1
No related merge requests found
......@@ -508,6 +508,8 @@ class Control:
if not hasattr(self,'etadiff'):
self.etadiff='0'
if not hasattr(self,'addpar'):
self.addpar=''
if not isinstance(self.type, list):
self.type = [self.type]
if not isinstance(self.time, list):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment