Strip newline from HLDS data version

This commit is contained in:
Midgard 2020-06-22 18:43:52 +02:00
parent 323a24ece6
commit 5d6db78e6e
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -18,4 +18,4 @@ location_definitions: List[Location] = parse_all_directory(DATA_DIR)
location_definitions.sort(key=lambda l: l.name)
proc = subprocess.run(["git", "rev-parse", "HEAD"], stdout=subprocess.PIPE, check=True)
location_definition_version = proc.stdout
location_definition_version = proc.stdout.decode().strip()