From 2c1c6e08c4a57b5951979091ac7a2e4433e80d0f Mon Sep 17 00:00:00 2001 From: John Date: Tue, 9 Jun 2015 18:50:15 +0300 Subject: [PATCH] DANIEL: Another whitelist tool update --- dev/tools/whitelist/whitelist_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tools/whitelist/whitelist_tool.py b/dev/tools/whitelist/whitelist_tool.py index 5c64177d..3f59e027 100644 --- a/dev/tools/whitelist/whitelist_tool.py +++ b/dev/tools/whitelist/whitelist_tool.py @@ -56,7 +56,7 @@ def saveChanges(): for word in LOCAL_LIST: - if word in addedWords or word.contains('\\'): + if word in addedWords or '\\' in word: continue try: word.decode('ascii')