Bugfix on empty input.
This commit is contained in:
parent
59080a2b5c
commit
ed147bbace
@ -218,6 +218,8 @@ class Scyther(object):
|
|||||||
|
|
||||||
if (spdl == None) or (len(spdl) == 0):
|
if (spdl == None) or (len(spdl) == 0):
|
||||||
spdl = self.spdl
|
spdl = self.spdl
|
||||||
|
if spdl == None:
|
||||||
|
spdl = ""
|
||||||
self.filenames = []
|
self.filenames = []
|
||||||
|
|
||||||
for sl in spdl.splitlines():
|
for sl in spdl.splitlines():
|
||||||
|
Loading…
Reference in New Issue
Block a user