Mercurial > hg > rlgallery-misc
comparison web/archive.cgi @ 6:4778ab7de7aa
web/archive.cgi: disable cgitb by default.
The Archivist ought to be stable enough...
| author | John "Elwin" Edwards <elwin@sdf.org> |
|---|---|
| date | Sun, 19 Aug 2012 15:28:28 -0700 |
| parents | a583700c0ca4 |
| children | e8f3b7994d88 |
comparison
equal
deleted
inserted
replaced
| 5:a583700c0ca4 | 6:4778ab7de7aa |
|---|---|
| 5 import sys | 5 import sys |
| 6 import time | 6 import time |
| 7 import calendar | 7 import calendar |
| 8 from datetime import datetime | 8 from datetime import datetime |
| 9 import rlgalldb as rlgall | 9 import rlgalldb as rlgall |
| 10 import cgitb | 10 #import cgitb |
| 11 | 11 |
| 12 cgitb.enable() | 12 #cgitb.enable() |
| 13 | 13 |
| 14 infop = """<p>Looking for ttyrec files? Don't like digging through Web directory listings, converting time zones in your head, or guessing how many files | 14 infop = """<p>Looking for ttyrec files? Don't like digging through Web directory listings, converting time zones in your head, or guessing how many files |
| 15 the game was spread across? The Archivist can find them all for you.</p> | 15 the game was spread across? The Archivist can find them all for you.</p> |
| 16 """ | 16 """ |
| 17 | 17 |
