VirtualMailManager/handler.py
branchv0.6.x
changeset 407 3162ff959375
parent 390 660b42391c8e
child 417 8209da83e256
--- a/VirtualMailManager/handler.py	Fri Feb 18 01:15:03 2011 +0000
+++ b/VirtualMailManager/handler.py	Fri Feb 18 12:12:54 2011 +0000
@@ -431,7 +431,7 @@
         else:
             dom.set_transport(Transport(self._dbh, transport=transport))
         dom.set_quotalimit(QuotaLimit(self._dbh,
-                           bytes=self._cfg.dget('misc.quota_bytes'),
+                           bytes=long(self._cfg.dget('misc.quota_bytes')),
                            messages=self._cfg.dget('misc.quota_messages')))
         dom.set_directory(self._cfg.dget('misc.base_directory'))
         dom.save()