mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
ebook-device: books now lists books on the storage card as well
This commit is contained in:
parent
63a10e7753
commit
afc66727fd
@ -240,8 +240,10 @@ def main():
|
|||||||
print "Books in main memory:"
|
print "Books in main memory:"
|
||||||
for book in dev.books():
|
for book in dev.books():
|
||||||
print book
|
print book
|
||||||
print "\nBooks on storage card:"
|
print "\nBooks on storage carda:"
|
||||||
for book in dev.books(oncard=True): print book
|
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":
|
elif command == "mkdir":
|
||||||
parser = OptionParser(usage="usage: %prog mkdir [options] path\nCreate a directory on the device\n\npath must begin with / or card:/")
|
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:
|
if len(args) != 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user