summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-02-19 13:12:56 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-19 13:13:12 +0100
commitcdc85fb37ed0d0f54c9bf6921ec70fb544312e80 (patch)
tree5b7157e63cf45fbd570ce96a780ab904651395af /branding
parentd9c543afcddc1b602495c0595588fae9699aecb0 (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-xbranding/templates/snap/local/pre/pack_installers2
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}