Merge branch 'testing' into dev
This commit is contained in:
@@ -96,13 +96,14 @@ class NWSpellCheck():
|
||||
lookup lists.
|
||||
"""
|
||||
self.projDict = []
|
||||
if projectDict is not None:
|
||||
if not os.path.isfile(projectDict):
|
||||
self.projectDict = None
|
||||
return False
|
||||
else:
|
||||
self.projectDict = projectDict
|
||||
|
||||
if projectDict is None:
|
||||
return False
|
||||
|
||||
if not os.path.isfile(projectDict):
|
||||
return False
|
||||
|
||||
try:
|
||||
logger.debug("Loading project word list")
|
||||
with open(projectDict, mode="r", encoding="utf-8") as wordsFile:
|
||||
|
||||
Reference in New Issue
Block a user