Commit 076bc019 authored by Daniel Toyra's avatar Daniel Toyra

Small fix to loading PYKAT_DATA in method kat.parse()

parent f48e2b0f
......@@ -1503,8 +1503,7 @@ class kat(object):
if line.startswith(PYKAT_DATA):
# Checks if pykat data is included now as a comment
vals = line.split("=", 1)
if len(v)==2:
if len(vals)==2:
self._str2data(vals[1])
elif keepComments:
......
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