Skip to content

Commit

Permalink
small bug displaying a stupid error when version is gotten
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzbuck committed May 27, 2021
1 parent 952b427 commit 854ebea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mOTUlizer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

os.chdir(module_path)

try :
if os.path.exists(".git"):
label = subprocess.check_output(["git", "describe", "--tags"]).strip().decode()
except :
label = "0.2.0"
else:
label = "0.2.1"

os.chdir(cwd)

Expand Down

0 comments on commit 854ebea

Please sign in to comment.