mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:24:02 +02:00
ebook-device: books now lists books on the storage card as well
This commit is contained in:
parent
63a10e7753
commit
afc66727fd
1 changed files with 4 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue