VirtualMailManager/Handler.py
branchv0.6.x
changeset 264 04fea4d8b900
parent 262 6eea85d8b91d
child 266 e14c345b44a1
--- a/VirtualMailManager/Handler.py	Sun Apr 25 03:03:09 2010 +0000
+++ b/VirtualMailManager/Handler.py	Sun Apr 25 04:51:14 2010 +0000
@@ -381,7 +381,7 @@
                 'LANMAN', 'NTLM', 'RPA']:
             cmd_args = [self._Cfg.dget('bin.dovecotpw'), '-s', self._scheme,
                         '-p', password]
-            if self._Cfg.dget('misc.dovecot_version') >= 20:
+            if self._Cfg.dget('misc.dovecot_version') >= 0x20000a1:
                 cmd_args.insert(1, 'pw')
             return Popen(cmd_args, stdout=PIPE).communicate()[0][:-1]
         else: