summaryrefslogtreecommitdiffstats
path: root/gmail-notmuch.py
diff options
Diffstat (limited to 'gmail-notmuch.py')
-rwxr-xr-xgmail-notmuch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmail-notmuch.py b/gmail-notmuch.py
index 04a60dc..b0c9da6 100755
--- a/gmail-notmuch.py
+++ b/gmail-notmuch.py
@@ -47,7 +47,7 @@ def main():
options.username += "@gmail.com"
if len(args) == 0:
parser.error("Maildir location is required.")
- destination_dir = args[0]
+ destination_dir = os.path.abspath(args[0])
imap = login(options)