|
|
@ -401,6 +401,10 @@ def ficgen(ficno,unique=False,output="output.html",local=False):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
if fileread.ao3slug:
|
|
|
|
if fileread.ao3slug:
|
|
|
|
filewrite.write("<li class=\"ao3link\"><a ")
|
|
|
|
filewrite.write("<li class=\"ao3link\"><a ")
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
if fileread.ao3locked:
|
|
|
|
|
|
|
|
filewrite.write("class=\"locked\" ")
|
|
|
|
|
|
|
|
except:
|
|
|
|
if fileread.locked:
|
|
|
|
if fileread.locked:
|
|
|
|
filewrite.write("class=\"locked\" ")
|
|
|
|
filewrite.write("class=\"locked\" ")
|
|
|
|
filewrite.write("href=\"https://archiveofourown.org/works/" + str(fileread.ao3slug) + "\">AO3</a></li>\n")
|
|
|
|
filewrite.write("href=\"https://archiveofourown.org/works/" + str(fileread.ao3slug) + "\">AO3</a></li>\n")
|
|
|
|