aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xarchivemail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archivemail.py b/archivemail.py
index 48e9019..e27aaec 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -230,7 +230,7 @@ class Options:
archive_by = "days"
self.days_old_max = string.atoi(a)
if o in ('-o', '--output-dir'):
- self.output_dir = a
+ self.output_dir = os.path.expanduser(a)
if o in ('-P', '--pwfile'):
self.pwfile = a
if o in ('-F', '--filter-append'):