Mercurial > hg > rlgallery-misc
comparison web/recent.cgi @ 33:25843238434a
Change the Python module's name back to rlgall.
It is no longer an experimental variant. Using a database as a backend
is a settled feature.
| author | John "Elwin" Edwards |
|---|---|
| date | Thu, 02 Jan 2014 13:09:48 -0500 |
| parents | e8f3b7994d88 |
| children | 44e8aaa20d02 |
comparison
equal
deleted
inserted
replaced
| 32:05a4afbe6299 | 33:25843238434a |
|---|---|
| 1 #!/usr/bin/python3 | 1 #!/usr/bin/python3 |
| 2 # CGI script creating page of recent games | 2 # CGI script creating page of recent games |
| 3 | 3 |
| 4 import sys | 4 import sys |
| 5 import time | 5 import time |
| 6 import rlgalldb as rlgall | 6 import rlgall |
| 7 | 7 |
| 8 # It is assumed that sys.stdout uses UTF-8 encoding. If this is not the case, | 8 # It is assumed that sys.stdout uses UTF-8 encoding. If this is not the case, |
| 9 # configure the Web server to set the LC_CTYPE environment variable to a UTF-8 | 9 # configure the Web server to set the LC_CTYPE environment variable to a UTF-8 |
| 10 # locale. | 10 # locale. |
| 11 | 11 |
