From ff700b999a85c966d250626c0d5cafc95af8cc31 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 8 Sep 2020 20:09:16 +0200 Subject: [PATCH] Fixed deconde on deemix-pyweb spec file --- deemix-pyweb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix-pyweb.spec b/deemix-pyweb.spec index 318c51c..16291aa 100644 --- a/deemix-pyweb.spec +++ b/deemix-pyweb.spec @@ -4,7 +4,7 @@ from datetime import date import subprocess today = date.today().strftime("%Y.%m.%d") -commit = str(subprocess.check_output(['git', 'rev-parse', 'HEAD'])[:10]) +commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'])[:10].decode("utf-8") version = f"{today}-{commit}" with open('version.txt', 'w') as f: f.write(version)