View Single Post
Old 03-07-2020, 03:33 PM   #1
pg111
Connoisseur
pg111 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2016
Device: Kindle
Syntax for tweaking exclude fields from metadata copy

Hi everybody,

Can a charitable soul tell me what is wrong with the following? Many thanks in advance for your help.

I tried to tweak exclude fields from metadata copy by entering the following instruction:

exclude_fields_on_paste = ['title', 'title_sort', 'authors', 'publisher', 'languages', 'timestamp', 'pubdate', 'identifiers', 'comments', '#formats', '#genre', '#transbiblio', '#alire']

since I just want to copy the tags info about the selected book so I can paste it onto another book record.

However I can read the following instruction when I display the tweak in Preferences again:

exclude_fields_on_paste = [u'title',
u'title_sort',
u'authors',
u'publisher',
u'languages',
u'timestamp',
u'pubdate',
u'identifiers',
u'comments',
u'#formats',
u'#genre',
u'#transbiblio',
u'#alire']

Can someone explain to me what I'm missing?

Particularly, what does this leading 'u' mean?

Many thanks in advance.

Last edited by pg111; 03-07-2020 at 04:42 PM.
pg111 is offline   Reply With Quote