Fix invalid dev version string

This commit is contained in:
André Apitzsch 2017-11-23 00:22:40 +01:00
parent 8d43907b1e
commit f97b799f9a
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ try:
node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
stdout=subprocess.PIPE).communicate()[0]
if node:
__version__ += '-' + node.decode('utf-8').strip()
__version__ += '+' + node.decode('utf-8').strip()
except Exception:
pass