diff web/recent.cgi @ 21:453278a81371

Add tablerecent() so recent.cgi will work as before. Port the tablerecent() function, which reads the most recent games directly from the logfile instead of the database. This allows recent.cgi to show games immediately without waiting for the recorder to put them in the database.
author John "Elwin" Edwards <elwin@sdf.org>
date Mon, 17 Sep 2012 13:41:10 -0700
parents 64272fc2350c
children e8f3b7994d88
line wrap: on
line diff
--- a/web/recent.cgi	Mon Sep 17 11:41:11 2012 -0700
+++ b/web/recent.cgi	Mon Sep 17 13:41:10 2012 -0700
@@ -3,7 +3,7 @@
 
 import sys
 import time
-import rlgall
+import rlgalldb as rlgall
 
 # The required header
 sys.stdout.write("Content-type: text/html\r\n\r\n")