VirtualMailManager/password.py
branchv0.6.x
changeset 464 7d4d79ff08d0
parent 461 cabdf94ec580
child 568 14abdd04ddf5
--- a/VirtualMailManager/password.py	Mon Nov 07 02:40:10 2011 +0000
+++ b/VirtualMailManager/password.py	Mon Nov 07 02:43:07 2011 +0000
@@ -360,7 +360,7 @@
     dcv = cfg_dget('misc.dovecot_version')
     schemes = (k for (k, v) in _scheme_info.iteritems() if v[1] <= dcv)
     if dcv >= 0x10100a01:
-        encodings = DEFAULT_B64[1:] + DEFAULT_HEX[1:]
+        encodings = ('.B64', '.BASE64', '.HEX')
     else:
         encodings = ()
     return schemes, encodings