From ed147bbace79e536663d8e589a8535a305bd3530 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Fri, 31 Dec 2010 15:42:01 +0100 Subject: [PATCH] Bugfix on empty input. --- gui/Scyther/Scyther.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/Scyther/Scyther.py b/gui/Scyther/Scyther.py index 24441dd..24f8d3c 100755 --- a/gui/Scyther/Scyther.py +++ b/gui/Scyther/Scyther.py @@ -218,6 +218,8 @@ class Scyther(object): if (spdl == None) or (len(spdl) == 0): spdl = self.spdl + if spdl == None: + spdl = "" self.filenames = [] for sl in spdl.splitlines():