diff options
| author | 2012-12-07 15:15:54 +0100 | |
|---|---|---|
| committer | 2012-12-07 15:15:54 +0100 | |
| commit | 3cec6674d47a48e76ff72b0b87513a177533eed5 (patch) | |
| tree | 1b2ce9a382a70ec5c0963a5fe197516fc5ca3c6c | |
| parent | Don't commit during atomic operations. (diff) | |
| download | gmail-notmuch-3cec6674d47a48e76ff72b0b87513a177533eed5.tar.xz gmail-notmuch-3cec6674d47a48e76ff72b0b87513a177533eed5.zip | |
Always use absolute path.
| -rwxr-xr-x | gmail-notmuch.py | 2 |
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) |
