Skip to content

Commit

Permalink
Fix loading version
Browse files Browse the repository at this point in the history
Tested both running locally with `python3 -m REVHubInterface` and with pyinstaller.
  • Loading branch information
qwertychouskie committed May 20, 2024
1 parent 8c6f2d3 commit 0f9d3d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions REVHubInterface/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,8 @@ def initwindow():

# Attempt to load version
try:
import _version
version = _version.version
from REVHubInterface._version import __version__
version = __version__
except ModuleNotFoundError:
version = "DEV BUILD"

Expand Down

0 comments on commit 0f9d3d0

Please sign in to comment.