Compare commits

..

No commits in common. "19e3093f3b5052e2877f7893d95754158c378518" and "23e07c376a790ea22fe31966eb1ab313208187da" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ The CGI program is still invoked in static generation. The files `allmaps.py`, `
Before executing `allmaps.py`, copy and modify the templates.
cp ./templates/overview.html .
cp ./templates/map.html .
cp ./templates/overview.html ./overview.html
cp ./templates/map.html ./map.html
`allmaps.py` outputs an html file for all distinct maps in the database. The leaderboards for each map (equivalent to `?map=[map name]`) are in `output/maps/`.

View File

@ -58,7 +58,7 @@ def main():
if __name__ == "__main__":
success = False
try:
success = main()
main()
except FileNotFoundError:
traceback.print_exc()
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")