1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-28 20:41:52 +01:00

setup: Add a single space for PEP-8

This commit is contained in:
Kishi85 2019-03-24 17:17:26 +01:00
parent 7ee34912c1
commit 5171a93608
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
import datetime
import os
from acertmgr import tools
from acertmgr.modes.abstract import AbstractChallengeHandler

View File

@ -26,7 +26,7 @@ def determine_version():
return version
# Derive version from git
try:
output = subprocess.check_output(['git', 'describe', '--tags', '--dirty'], cwd=dir_path)\
output = subprocess.check_output(['git', 'describe', '--tags', '--dirty'], cwd=dir_path) \
.decode('utf-8').strip().split('-')
if len(output) == 1:
return output[0]