Thread: Save a copy
View Single Post
Old 02-07-2014, 03:29 AM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,752
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
dynamic.pickle which is a binary file that you can dump with

calibre-debug -c "import pickle, pprint; from calibre.utils.config import dynamic; pprint.pprint(pickle.load(open(dynamic.file_path, 'rb')))"
Can't see it there - piped to text file and searched with notepad++

Quote:
Originally Posted by kovidgoyal View Post
And if you want to see just the value:

calibre-debug -c "from calibre.utils.config import dynamic; print dynamic['tweak_book_save_copy'], dynamic.file_path"
responds with
Code:
None C:\Users\Philip\AppData\Roaming\calibre\dynamic.pickle
Want me to post a bug, any files I should attach ?

BR
BetterRed is offline   Reply With Quote