From 279013573a3936c3cf7be4b1a0297dc44718421e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Apr 2013 08:51:00 +0530 Subject: [PATCH] ... --- src/calibre/library/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index 58175f215b..2fdec62ff0 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -54,7 +54,7 @@ def get_parser(usage): def get_db(dbpath, options): global do_notify if options.library_path is not None: - dbpath = options.library_path + dbpath = os.path.expanduser(options.library_path) if dbpath is None: raise ValueError('No saved library path, either run the GUI or use the' ' --with-library option')