Mercurial > libervia-backend
diff src/plugins/plugin_misc_maildir.py @ 365:efbfccfed623
core: local_dir moved to config file
- ~/.sat.conf added to potential config file location
- removed useless profile param from getConfig
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Jun 2011 17:56:59 +0200 |
parents | 6dcdc4cf8622 |
children | 866dbb0d7d87 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_maildir.py Sat Jun 18 16:22:50 2011 +0200 +++ b/src/plugins/plugin_misc_maildir.py Sat Jun 18 17:56:59 2011 +0200 @@ -338,7 +338,7 @@ self.profile=profile self.maildir=_maildir profile_path = self.maildir._getProfilePath(profile) - full_profile_path = os.path.join(os.path.expanduser(self.maildir.host.get_const('local_dir')),profile_path) + full_profile_path = os.path.join(self.maildir.host.memory.getConfig('','local_dir'), profile_path) if not os.path.exists(full_profile_path): os.makedirs(full_profile_path,0700) mailbox_path = os.path.join(full_profile_path, MAILDIR_PATH)