mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Further satisfy linter
This commit is contained in:
parent
c522250a40
commit
b6150cab7d
@ -139,7 +139,7 @@ def appversion() -> semantic_version.Version:
|
|||||||
else:
|
else:
|
||||||
# Running from source. For Linux, check to see if .gitversion file exists
|
# Running from source. For Linux, check to see if .gitversion file exists
|
||||||
# If so, use it. This is also required for the Flatpak
|
# If so, use it. This is also required for the Flatpak
|
||||||
if pathlib.Path("./" + GITVERSION_FILE).is_file:
|
if pathlib.Path("./" + GITVERSION_FILE).is_file():
|
||||||
with open(pathlib.Path("./" + GITVERSION_FILE)) as gitv:
|
with open(pathlib.Path("./" + GITVERSION_FILE)) as gitv:
|
||||||
shorthash = gitv.read()
|
shorthash = gitv.read()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user