fix pylint
This commit is contained in:
parent
2d68544d64
commit
f8419cf957
@ -498,7 +498,7 @@ def versionWithBuild() -> str:
|
||||
from anki import version
|
||||
|
||||
try:
|
||||
from anki.buildhash import build # type: ignore
|
||||
from anki.buildhash import build # type: ignore # pylint: disable=import-error
|
||||
except:
|
||||
build = "dev"
|
||||
return "%s (%s)" % (version, build)
|
||||
|
Loading…
Reference in New Issue
Block a user