Fix old config access in hints
This commit is contained in:
parent
3aa7f771c1
commit
471755d370
@ -937,7 +937,7 @@ class WordHinter:
|
|||||||
|
|
||||||
def ensure_initialized(self):
|
def ensure_initialized(self):
|
||||||
"""Generate the used words if yet uninitialized."""
|
"""Generate the used words if yet uninitialized."""
|
||||||
dictionary = config.get("hints", "dictionary")
|
dictionary = config.val.hints.dictionary
|
||||||
if not self.words or self.dictionary != dictionary:
|
if not self.words or self.dictionary != dictionary:
|
||||||
self.words.clear()
|
self.words.clear()
|
||||||
self.dictionary = dictionary
|
self.dictionary = dictionary
|
||||||
|
Loading…
Reference in New Issue
Block a user