Skip to content

Commit 8205a7e

Browse files
committed
Fix error with --spelling
1 parent 1d40a35 commit 8205a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msgcheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
except:
4242
pass
4343

44-
VERSION = '2.2'
44+
VERSION = '2.3'
4545

4646

4747
class PoMessage:
@@ -123,7 +123,7 @@ def add_message(self, filename, numline_msgid, msgfuzzy, msg):
123123
if self.args.spelling:
124124
try:
125125
d = enchant.DictWithPWL(self.props['language'],
126-
args.pwl)
126+
self.args.pwl)
127127
self.checkers.append(SpellChecker(d))
128128
except:
129129
print(self.filename, ':', numline_msgid,

0 commit comments

Comments
 (0)