Commit b80fc626 authored by Daniel Brown's avatar Daniel Brown
Browse files

adding __str__ for kat object which just prints kat script

parent 2d08a536
......@@ -931,7 +931,10 @@ class kat(object):
del self.__blocks[name]
def __str__(self):
return "".join(self.generateKatScript())
def parseCommands(self, commands, blocks=None, addToBlock=None):
if addToBlock is not None and blocks is not None:
Supports Markdown
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