diff --git a/tools/find-strings.py b/tools/find-strings.py index 5cba6fc17..bbaa36443 100755 --- a/tools/find-strings.py +++ b/tools/find-strings.py @@ -43,6 +43,8 @@ def main(): s = eval(s) s = s.replace('%s', ' ') s = s.replace('%r', ' ') + if not s: + continue if len(s.translate(string.ascii, goodChars))/len(s) < 0.2: continue if len(s) <= 3: