Fix whitelist

This commit is contained in:
John 2015-06-18 19:07:51 +03:00
parent 1213349611
commit 9d0029cdfb

View file

@ -46,6 +46,7 @@ class WhiteList:
lastWord = words[-1]
if not garbler:
if (not lastWord) or self.isPrefix(lastWord):
newWords[-1] = lastWord
else: