From afc66727fd2cee688c20e4a27f060243c0da03d4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 13 Dec 2009 12:20:21 -0700 Subject: [PATCH] ebook-device: books now lists books on the storage card as well --- src/calibre/devices/prs500/cli/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/prs500/cli/main.py b/src/calibre/devices/prs500/cli/main.py index 459f2d05e3..01685d3ac7 100755 --- a/src/calibre/devices/prs500/cli/main.py +++ b/src/calibre/devices/prs500/cli/main.py @@ -240,8 +240,10 @@ def main(): print "Books in main memory:" for book in dev.books(): print book - print "\nBooks on storage card:" - for book in dev.books(oncard=True): print book + print "\nBooks on storage carda:" + for book in dev.books(oncard='carda'): print book + print "\nBooks on storage cardb:" + for book in dev.books(oncard='cardb'): print book elif command == "mkdir": parser = OptionParser(usage="usage: %prog mkdir [options] path\nCreate a directory on the device\n\npath must begin with / or card:/") if len(args) != 1: