We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d189cd + c8234a0 commit 825c497Copy full SHA for 825c497
1 file changed
codespell.py
@@ -195,7 +195,9 @@ def add_dict(enchant_dict, filename):
195
args = parse_args()
196
# print(args)
197
198
- sitk_dict = DictWithPWL('en_US', 'additional_dictionary.txt')
+ thisdir = os.path.dirname(os.path.abspath(__file__))
199
+
200
+ sitk_dict = DictWithPWL('en_US', thisdir+'/additional_dictionary.txt')
201
202
if args.dict is not None:
203
for d in args.dict:
0 commit comments