Skip to content

Commit 84169e1

Browse files
committed
Fix manual cfbot web run
1 parent bc3059b commit 84169e1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cfbot_web.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import unicodedata
99
from html import escape as html_escape
1010

11+
import cfbot_commitfest_rpc
1112
from cfbot_commitfest_rpc import Submission
1213

1314
# Define SVG content
@@ -551,12 +552,12 @@ def unique_authors(submissions):
551552
if __name__ == "__main__":
552553
with cfbot_util.db() as conn:
553554
# rebuild(conn, commitfest_id)
554-
# commitfest_id = cfbot_commitfest_rpc.get_current_commitfest_id()
555-
submissions = load_submissions(conn, 42)
555+
cfs = cfbot_commitfest_rpc.get_current_commitfests()
556+
submissions = load_submissions(conn, cfs)
556557
build_page(
557558
conn,
558559
"x",
559-
42,
560+
cfs,
560561
submissions,
561562
None,
562563
None,

0 commit comments

Comments
 (0)