mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-04 18:40:51 +02:00
Fix use_archived_author in AO3.
This commit is contained in:
parent
8a9ed58585
commit
5f5bde42d9
1 changed files with 1 additions and 2 deletions
|
|
@ -225,8 +225,7 @@ class ArchiveOfOurOwnOrgAdapter(BaseSiteAdapter):
|
|||
# Hope Roy [archived by <a href="/users/ssa_archivist/pseuds/ssa_archivist" rel="author">ssa_archivist</a>]
|
||||
# </h3>
|
||||
# stripped:"Hope Roy [archived by ssa_archivist]"
|
||||
|
||||
m = re.match(r'(?P<author>.*) \[archived by (?P<archivist>.*)\]',stripHTML(byline))
|
||||
m = re.match(r'(?P<author>.*) \[archived by ?(?P<archivist>.*)\]',stripHTML(byline))
|
||||
if( m and
|
||||
len(alist) == 1 and
|
||||
self.getConfig('use_archived_author') ):
|
||||
|
|
|
|||
Loading…
Reference in a new issue