mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
Fix setup.py.
This commit is contained in:
parent
1ab1bebeff
commit
3991faf7ee
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ try:
|
||||
proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
date = proc.stdout.readline()
|
||||
if minisix.PY3:
|
||||
if sys.version_info[0] >= 3:
|
||||
date = date.decode()
|
||||
date = time.strptime(date.strip(), '%Y-%m-%d %H:%M:%S %z')
|
||||
utc_date = time.gmtime(time.mktime(date))
|
||||
|
Loading…
Reference in New Issue
Block a user