Skip to content

Commit

Permalink
fix(env): no initial value for version
Browse files Browse the repository at this point in the history
Signed-off-by: Rongrong <i@rong.moe>
  • Loading branch information
Rongronggg9 committed Apr 20, 2024
1 parent 9a4dd00 commit ceb6022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def __compare_version(version1: str, version2: str) -> tuple[int, list[Union[int

# ----- get version -----
def __get_version():
version = 'dirty'
if is_self_run_as_a_whole_package:
# noinspection PyBroadException
try:
Expand Down

0 comments on commit ceb6022

Please sign in to comment.