summaryrefslogtreecommitdiffstats
path: root/Tools/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/i18n')
-rwxr-xr-xTools/i18n/msgfmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py
index b4ae3e9..6433131 100755
--- a/Tools/i18n/msgfmt.py
+++ b/Tools/i18n/msgfmt.py
@@ -127,7 +127,7 @@ def make(filename, outfile):
section = None
fuzzy = 0
# Record a fuzzy mark
- if l[:2] == '#,' and l.find('fuzzy'):
+ if l[:2] == '#,' and 'fuzzy' in l:
fuzzy = 1
# Skip comments
if l[0] == '#':