View Single Post
Old 12-05-2023, 01:35 PM   #93
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,170
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by wildfire070 View Post
Thank you! I had another instance of exclude_metadata_pre but changing it to exclude_metadata_post worked.
https://github.com/JimmXinu/FanFicFare/wiki/INI-File

Quote:
Duplicated Sections
And here's what happens when you do add the same section more than once. (It's actually not hard to do if you're copying snippets into your personal.ini without stopping to look for a previously existing section.)

Python's INI parser is actually perfectly happy to have the same section duplicated. It will even work most of the time. The problem comes when the same keyword is in both duplicate sections; then the last section overrides the earlier ones.

Code:
[www.fanfiction.net]
# Works fine because not included in later section
check_next_chapter:true

# FAILS because replaced by replace_metadata in later section.  You can spend hours
# trying different things and they'll never work here.
replace_metadata:
 author=>Bobmin356=>Bobmin

<other sections>

[www.fanfiction.net]
# Overrides replace_metadata from earlier section.
replace_metadata:
 title=>WatLP: Chamber of Secrets=>Chamber of Secrets
ownedbycats is offline   Reply With Quote