mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
setup.py: Fix 0fb2ee1bf7
for Git version.
This commit is contained in:
parent
dfafee3ff2
commit
0a439012c1
5
setup.py
5
setup.py
@ -49,8 +49,9 @@ try:
|
|||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
version = proc.stdout.readline() \
|
version = proc.stdout.readline() \
|
||||||
.strip() \
|
.strip() \
|
||||||
.replace(' +', '+') \
|
.split(' +')[0] \
|
||||||
.replace(' ', 'T')
|
.replace(' ', 'T') \
|
||||||
|
.replace(':', '-')
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
if not version:
|
if not version:
|
||||||
|
Loading…
Reference in New Issue
Block a user