From 5cf66bc343cc1d21f00730c6e9cd290ed8c6ad00 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 23 Jun 2008 14:55:56 -0700 Subject: [PATCH] Fix #812 --- src/calibre/gui2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index d0260d7ad5..c55b1873b5 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -1198,7 +1198,7 @@ path_to_ebook to the database. return 1 sys.excepthook = main.unhandled_exception if len(args) > 1: - main.add_filesystem_book(args) + main.add_filesystem_book(args[1]) return app.exec_() return 0