Merge branch 'fix_version' into 'master'

Fix invalid dev version string

See merge request gajim/gajim!157
This commit is contained in:
Philipp Hörist 2017-11-24 15:58:34 +01:00
commit 359d327b53
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