updates
This commit is contained in:
3
app.py
3
app.py
@@ -45,7 +45,6 @@ def party():
|
||||
if level != stored_level:
|
||||
for adv in stored_adv_party:
|
||||
adv.set_level(level)
|
||||
print(adv.level)
|
||||
if count == stored_count:
|
||||
adv_party.set_party(stored_adv_party, count, level)
|
||||
if count > stored_count:
|
||||
@@ -57,8 +56,6 @@ def party():
|
||||
reduction = count - stored_count
|
||||
reduced_party = stored_adv_party[:reduction]
|
||||
adv_party.set_party(reduced_party, count, level)
|
||||
|
||||
|
||||
# generate page
|
||||
response = make_response(render_template("party_sheet.html", adv_party=adv_party, count=count, level=level, cache=cache))
|
||||
# make a cookie for each character
|
||||
|
||||
Reference in New Issue
Block a user