Skip to content
Snippets Groups Projects
Commit f2a844a9 authored by Sean Leavey's avatar Sean Leavey
Browse files

Bug fix (?)

parent c191f33f
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,10 @@ class kat(object):
self.__tempname = tempname
self.pykatgui = None
# initialise default block
self.__currentTag= NO_BLOCK
self.__blocks[NO_BLOCK] = Block(NO_BLOCK)
# Various options for running finesse, typicaly the commands with just 1 input
# and have no name attached to them.
self.retrace = None
......@@ -220,11 +224,6 @@ class kat(object):
def parseCommands(self, commands):
blockComment = False
self.__currentTag= NO_BLOCK
if not (NO_BLOCK in self.__blocks):
self.__blocks[NO_BLOCK] = Block(NO_BLOCK)
commands=self.remove_comments(commands)
after_process = [] # list of commands that should be processed after
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment