diff --git a/branding/templates/snap/local/pre/pack_installers b/branding/templates/snap/local/pre/pack_installers index 6c4ddd5ce260d82f0d1c66252f3e11010c50ca9c..5179967cf70ef43c65200969da6ea90c9680fd29 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}