mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
Add static include_in_* when double quoted.
This commit is contained in:
parent
cf7f84c886
commit
dd2a076b6f
1 changed files with 12 additions and 8 deletions
|
|
@ -1199,6 +1199,10 @@ class Story(Requestable):
|
|||
# includelist prevents infinite recursion of include_in_'s
|
||||
if self.hasConfig("include_in_"+listname) and listname not in includelist:
|
||||
for k in self.getConfigList("include_in_"+listname):
|
||||
## allow for static string includes when double quoted ""
|
||||
if k.startswith('"') and k.endswith('"'):
|
||||
retlist.append(k[1:-1])
|
||||
else:
|
||||
ldorepl = doreplacements
|
||||
if k.endswith('.NOREPL'):
|
||||
k = k[:-len('.NOREPL')]
|
||||
|
|
|
|||
Loading…
Reference in a new issue