Commit e1c2327c authored by Andreas Nüßlein's avatar Andreas Nüßlein Committed by Colomban Wendling

Add Python 3 compatibility

ConfigParser is called configparser in Python 3.x.
parent 4e208713
......@@ -32,7 +32,10 @@
from Crypto.Cipher import DES
from base64 import standard_b64decode as b64decode
from ConfigParser import ConfigParser
try:
from ConfigParser import ConfigParser
except ImportError:
from configparser import ConfigParser
PASSCRYPT_KEY = b'passkey0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment