diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-02-19 13:12:56 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-02-19 13:13:12 +0100 |
commit | cdc85fb37ed0d0f54c9bf6921ec70fb544312e80 (patch) | |
tree | 5b7157e63cf45fbd570ce96a780ab904651395af /branding | |
parent | d9c543afcddc1b602495c0595588fae9699aecb0 (diff) |
[bug] fix missing deprecated call to decodestring
it had been changed in the hook itself, but this script kept using the
deprecated form.
- Resolves: #431
Diffstat (limited to 'branding')
-rwxr-xr-x | branding/templates/snap/local/pre/pack_installers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/branding/templates/snap/local/pre/pack_installers b/branding/templates/snap/local/pre/pack_installers index 6c4ddd5..5179967 100755 --- a/branding/templates/snap/local/pre/pack_installers +++ b/branding/templates/snap/local/pre/pack_installers @@ -21,7 +21,7 @@ with open(INSTALL, 'w') as install: install.write('# by the script at "snap/local/pre/pack_installers"\n') install.write('import subprocess\n') install.write('import os\n') - install.write('from base64 import decodestring as decode\n') + install.write('from base64 import decodebytes as decode\n') install.write(""" POLKIT = {polkit} |