Skip to content
Snippets Groups Projects
Unverified Commit cdc85fb3 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[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
parent d9c543af
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment