Remove useless parameter
This commit is contained in:
parent
85245c328b
commit
a389b40e21
3 changed files with 20 additions and 21 deletions
|
@ -35,7 +35,7 @@ Python scripts to generate a mobile-friendly static site for tracking tcg cards
|
|||
- =firstmasteries=: a list of decks you mastered first
|
||||
- =misclink=: under ="link"=, a link to any page you choose, and under ~"text"~, text to display as the link
|
||||
- =donations= : lists of donated decks and individual scrapbook cards
|
||||
- =masscollect=: list (python dict) of series/themes being mass collected, each containing a dict which specifies =“full”= as either =True= or =False= (to show or hide a list of the total number of cards in the set) and contains at least one of ="decks"= specifying a list of decks, or ="singles"= specifying a list of individual cards
|
||||
- =masscollect=: list (python dict) of series/themes being mass collected, each containing at least one of ="decks"= specifying a list of decks, or ="singles"= specifying a list of individual cards
|
||||
- Run the following:
|
||||
#+BEGIN_SRC bash
|
||||
python3 setup.py
|
||||
|
|
1
new.py
1
new.py
|
@ -365,7 +365,6 @@ for card in cardlist:
|
|||
cardnames.append(card["name"])
|
||||
|
||||
for theme in variables.masscollect:
|
||||
if variables.masscollect[theme]["full"] == True:
|
||||
try:
|
||||
for deck in variables.masscollect[theme]["decks"]:
|
||||
if deck not in decknames:
|
||||
|
|
|
@ -17,4 +17,4 @@ ownedpage = False
|
|||
firstmasteries = ["deckname","nameofdeck"]
|
||||
misclink = {"link":"","text":""}
|
||||
donations = {"decks":[],"scrapbook":[]}
|
||||
masscollect = {"series":{"full":True,"decks":["firstdeck","seconddeck"],"singles":["card01","card02"]}}
|
||||
masscollect = {"series":{"decks":["firstdeck","seconddeck"],"singles":["card01","card02"]}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue