branch | v0.6.x |
changeset 293 | a77b67673aa6 |
parent 290 | e2785e04f92e |
child 294 | 7d1bafc6fa30 |
--- a/VirtualMailManager/Handler.py Tue May 11 01:54:50 2010 +0000 +++ b/VirtualMailManager/Handler.py Wed May 12 07:40:59 2010 +0000 @@ -577,7 +577,7 @@ acc.address, ERR.NO_SUCH_ACCOUNT) info = acc.get_info() if self._Cfg.dget('account.disk_usage') or details in ('du', 'full'): - path = os.path.join(acc.home, info['mail_location'].split('/')[-1]) + path = os.path.join(acc.home, acc.mail_location.directory) info['disk usage'] = self.__getDiskUsage(path) if details in (None, 'du'): return info