Fix lint
This commit is contained in:
parent
4887385bdd
commit
e7a300865c
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import os.path
|
import os.path
|
||||||
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from PyQt5.QtCore import QLibraryInfo
|
from PyQt5.QtCore import QLibraryInfo
|
||||||
@ -81,6 +81,7 @@ def local_filename(code):
|
|||||||
|
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
|
"""Initialize the dictionary path if supported."""
|
||||||
if qtutils.version_check('5.10', compiled=False):
|
if qtutils.version_check('5.10', compiled=False):
|
||||||
new_dir = dictionary_dir()
|
new_dir = dictionary_dir()
|
||||||
old_dir = dictionary_dir(old=True)
|
old_dir = dictionary_dir(old=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user