From 3dfb1e2e0bfb6776296f8466f21d8bae966acd61 Mon Sep 17 00:00:00 2001 From: Daniel Brown <ddb@star.sr.bham.ac.uk> Date: Sat, 1 Nov 2014 10:49:17 +0000 Subject: [PATCH] fixing addline function --- pykat/finesse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pykat/finesse.py b/pykat/finesse.py index c545945..96d7af9 100644 --- a/pykat/finesse.py +++ b/pykat/finesse.py @@ -1208,7 +1208,7 @@ class kat(object): as just a string. This of course can create possible conflicts with other pykat object that create similar commands so becareful. """ - self.__blocks[key].contents.append(line) + self.__blocks[block].contents.append(line) def generateKatScript(self) : """ Generates the kat file which can then be run """ -- GitLab