View Single Post
Old 04-09-2013, 08:23 AM   #3
kjonca
Junior Member
kjonca began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2013
Location: Warsaw, Poland
Device: PocektBook Touch HD3, onyx t68Lynx,onyx m92,prs-650
Thanks. But how can I use it?

Now I'm using calibre from debian. And I copied
cp -via src/calibre/library/cli.py /usr/lib/calibre/calibre/library/cli.py
but only effect was:
Code:
Traceback (most recent call last):
  File "/usr/bin/calibredb", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/library/cli.py", line 1415, in main
    return command(args[2:], dbpath)
  File "/usr/lib/calibre/calibre/library/cli.py", line 464, in command_add_format
    do_add_format(get_db(dbpath, opts), id, fmt[1:], path, opts)
  File "/usr/lib/calibre/calibre/library/cli.py", line 432, in do_add_format
    replace=opts.replace)
TypeError: add_format_with_hooks() got an unexpected keyword argument 'replace'
kjonca is offline   Reply With Quote