Bugfix on empty input.

This commit is contained in:
Cas Cremers 2010-12-31 15:42:01 +01:00
parent 59080a2b5c
commit ed147bbace

View File

@ -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():