Mercurial > hg > rlgallery-misc
comparison web/scoring/players/index.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 | 6138c27d1950 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 32:05a4afbe6299 | 33:25843238434a | 
|---|---|
| 1 #!/usr/bin/python3 | 1 #!/usr/bin/python3 | 
| 2 | 2 | 
| 3 import os | 3 import os | 
| 4 import sys | 4 import sys | 
| 5 import rlgalldb as rlgall | 5 import rlgall | 
| 6 | 6 | 
| 7 playerdir = "/var/www/lighttpd/scoring/players/" | 7 playerdir = "/var/www/lighttpd/scoring/players/" | 
| 8 linkstr = '<li><a href="./{0}.html">{0}</a></li>\n' | 8 linkstr = '<li><a href="./{0}.html">{0}</a></li>\n' | 
| 9 | 9 | 
| 10 filelist = os.listdir(playerdir) | 10 filelist = os.listdir(playerdir) | 
