From 7bf517aa00975fba4a338a2fa46b5a2d75cba14c Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 27 Apr 2020 14:31:12 +0200 Subject: [PATCH] [models] Fix build id string creation --- legendary/models/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/models/manifest.py b/legendary/models/manifest.py index a225b8c..9892785 100644 --- a/legendary/models/manifest.py +++ b/legendary/models/manifest.py @@ -143,7 +143,7 @@ class ManifestMeta: s.update(self.build_version.encode('utf-8')) s.update(self.launch_exe.encode('utf-8')) s.update(self.launch_command.encode('utf-8')) - self._build_id = b64encode(s.digest()).replace('+', '-').replace('/', '_').replace('=', '') + self._build_id = b64encode(s.digest()).decode('ascii').replace('+', '-').replace('/', '_').replace('=', '') return self._build_id @classmethod