Mercurial > hg > rlgallery-misc
annotate web/archive.cgi @ 75:d8720dbc16bb
Update the README.
| author | John "Elwin" Edwards | 
|---|---|
| date | Wed, 28 Dec 2016 16:53:08 -0500 | 
| parents | 6138c27d1950 | 
| children | 
| rev | line source | 
|---|---|
| 30 | 1 #!/usr/bin/python3 | 
| 0 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 2 | 
| 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 3 import cgi | 
| 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 4 import os | 
| 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 5 import sys | 
| 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 6 import time | 
| 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 7 import calendar | 
| 2 
8f49df4074d7
Convert web/archive.cgi to use the new SQL timestamps.
 John "Elwin" Edwards <elwin@sdf.org> parents: 
0diff
changeset | 8 from datetime import datetime | 
| 30 | 9 import pytz | 
| 49 
6138c27d1950
Escape the player's name when printing it into HTML.
 John "Elwin" Edwards parents: 
34diff
changeset | 10 import html | 
| 33 
25843238434a
Change the Python module's name back to rlgall.
 John "Elwin" Edwards parents: 
30diff
changeset | 11 import rlgall | 
| 6 
4778ab7de7aa
web/archive.cgi: disable cgitb by default.
 John "Elwin" Edwards <elwin@sdf.org> parents: 
5diff
changeset | 12 #import cgitb | 
| 0 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 13 | 
| 6 
4778ab7de7aa
web/archive.cgi: disable cgitb by default.
 John "Elwin" Edwards <elwin@sdf.org> parents: 
5diff
changeset | 14 #cgitb.enable() | 
| 0 
5ba2123d2c20
Put this project under version control, finally.
 John "Elwin" Edwards <elwin@sdf.org> parents: diff
changeset | 15 | 
