Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backtrackbb/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def call_git_describe(abbrev=4):
line = p.stdout.readline().decode()
p.stdout.close()

if "-" not in line and "." not in line:
line = "0.0.0-g%s" % line
if "+" not in line and "." not in line:
line = "0.0.0+g%s" % line
return line.strip()
except:
return None
Expand Down