mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[models] Fix build id string creation
This commit is contained in:
parent
5e7bdca8c4
commit
7bf517aa00
|
@ -143,7 +143,7 @@ class ManifestMeta:
|
||||||
s.update(self.build_version.encode('utf-8'))
|
s.update(self.build_version.encode('utf-8'))
|
||||||
s.update(self.launch_exe.encode('utf-8'))
|
s.update(self.launch_exe.encode('utf-8'))
|
||||||
s.update(self.launch_command.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
|
return self._build_id
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue