Commit f9b21e9a authored by Mario Hock's avatar Mario Hock

Fix: Errors when Comment was empty

parent 61c06e5c
......@@ -264,6 +264,10 @@ class CNLParser:
return self.header["General"]["Type"]
def get_comment(self):
comment = self.header["General"]["Comment"]
if comment == None:
comment = ""
return self.header["General"]["Comment"]
def get_cpus(self):
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