mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-05-13 18:07:25 +02:00
Empty strings. Bah\!
This commit is contained in:
parent
890140d2cf
commit
73a5058f69
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user