Skip to content
Snippets Groups Projects
Commit ead1b5d6 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

correctly handle null version

parent fbc712f1
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ def parse(filename):
p.startedParsingSession(filename, parser_info)
with o(p, 'section_run'):
p.addValue('program_name', 'ASAP')
if hasattr(t, 'ase_version'):
if hasattr(t, 'ase_version') and t.ase_version:
aversion = t.ase_version
else:
aversion = '3.x.x' # default Asap version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment