mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-22 10:42:55 +01: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…
Reference in New Issue
Block a user