From 875dd5669f7937d2f107ff504a9cc58777caae27 Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Fri, 29 Jul 2016 17:30:02 -0400 Subject: [PATCH] fix MeCab error message Former-commit-id: fcf2445c3ebc7dbb3bdde7e20d2f251deb11f1fb --- wordfreq/mecab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordfreq/mecab.py b/wordfreq/mecab.py index 61c1fee..bcd4249 100644 --- a/wordfreq/mecab.py +++ b/wordfreq/mecab.py @@ -28,7 +28,7 @@ def find_mecab_dictionary(names): return path error_lines = [ - "Couldn't find the MeCab dictionary named %r." % name, + "Couldn't find the MeCab dictionary named %r." % suggested_pkg, "You should download or use your system's package manager to install", "the %r package." % suggested_pkg, "",