Quick Question about tag browser tweak
Am trying to customize the order in which the columns are displayed in the tag browser.
calibre, version 4.7.0
ERROR: Failed: There was a syntax error in your tweak. Click the "Show details" button for details.
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\tweaks.py", line 535, in apply_tweak
File "<string>", line 14
u'#all_the_book_sources':12,
^
SyntaxError: invalid syntax
^
SyntaxError: invalid syntax
What am I doing wrong?
tag_browser_category_order = {u'authors': 1,
u'formats': 5,
u'identifiers': 7,
u'languages': 4,
u'publisher': 6,
u'rating': 8,
u'series': 2,
u'tags': 3,
u'#genre':9,
u'#heirarchal_booksource':10,
u'#booksource':11
u'#all_the_book_sources':12,
u'#h_details':13,
u'#details':14,
u'#book_style':15,
u'#currentbookshelves':16,
u'#exclusiveshelf':17,
u'#current_dash':18,
u'#bookshelves':19,
u'#gr_binding':20,
u'#readstatus':21,
u'#calibrelibrary':22,
u'#mfw':23,
u'#rc':24,
u'#read_dates':25,
u'#libraryonhold':26,
u'#ol_wait_weeks':27,
u'#orig_series':28,
u'#second_series':29,
u'#calibre_author':30}
I am not adding the news in this list because I never use it.
Nevermind, found the missing "," in Booksource, it works now.
Last edited by Rellwood; 09-01-2020 at 07:25 PM.
Reason: Updated Error
|