should use the same keyword in config and code

hey this config check on startup is actually useful
This commit is contained in:
Felix Van der Jeugt 2016-01-19 11:44:25 +01:00
parent 7ad871fab1
commit 6d33e7843e

View File

@ -208,7 +208,7 @@ class HintManager(QObject):
A list of hint strings, in the same order as the elements.
"""
hint_mode = config.get('hints', 'mode')
if hint_mode == 'words':
if hint_mode == 'word':
try:
return self._word_hinter.hint(elems)
except WordHintingError as e: