From cdc85fb37ed0d0f54c9bf6921ec70fb544312e80 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 19 Feb 2021 13:12:56 +0100 Subject: [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 --- branding/templates/snap/local/pre/pack_installers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'branding') 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} -- cgit v1.2.3