Empty strings. Bah\!

This commit is contained in:
Jeremy Fincher 2004-08-19 12:26:11 +00:00
parent 890140d2cf
commit 73a5058f69

View File

@ -43,6 +43,8 @@ def main():
s = eval(s) s = eval(s)
s = s.replace('%s', ' ') s = s.replace('%s', ' ')
s = s.replace('%r', ' ') s = s.replace('%r', ' ')
if not s:
continue
if len(s.translate(string.ascii, goodChars))/len(s) < 0.2: if len(s.translate(string.ascii, goodChars))/len(s) < 0.2:
continue continue
if len(s) <= 3: if len(s) <= 3: