diff --git a/colors.py b/colors.py index 7f95b9f..97e40e0 100644 --- a/colors.py +++ b/colors.py @@ -986,7 +986,7 @@ def portfoliogen(theportfolio,thetype,portnumber): portstring += "□" break portstring += " " + specialdeck - portstring += "\n\n
")
for donation in donations:
- if donation["type"] == "deck":
- content.write(" 0:
- content.write("/" + variables.subfolder)
- content.write("/decks/" + donation["name"] + "/00.gif\" loading=\"lazy\">")
- elif donation["type"] == "mastered":
- content.write("
0:
- content.write("/" + variables.subfolder)
- content.write("/decks/" + donation["name"] + "/master.gif\" title=\"mastered " + donation["name"])
- try:
- if donation["name"] in variables.firstmasteries:
- content.write(" (first)\" class=\"first")
- except:
- pass
- content.write("\">")
- elif donation["type"] == "single":
- content.write(printcard(donation["name"]))
+ content.write("" + printcard(donation["name"]))
+ else:
+ content.write(donation["name"] + "\" target=\"_blank\">")
+ if donation["type"] == "deck":
+ content.write("
0:
+ content.write("/" + variables.subfolder)
+ content.write("/decks/" + donation["name"] + "/00.gif\" loading=\"lazy\">")
+ elif donation["type"] == "mastered":
+ content.write("
0:
+ content.write("/" + variables.subfolder)
+ content.write("/decks/" + donation["name"] + "/master.gif\" title=\"mastered " + donation["name"])
+ try:
+ if donation["name"] in variables.firstmasteries:
+ content.write(" (first)\" class=\"first")
+ except:
+ pass
+ content.write("\" loading=\"lazy\">")
+ content.write("")
content.write("
") for card in cardlist: if series in card["mass"]: @@ -2392,7 +2396,7 @@ def tradegen(colour=False): content.write("
") if len(variables.tradestatement) > 0: content.write(variables.tradestatement + " ") - content.write("Trade cards here
\n\n