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.
This commit is contained in:
parent
3f54b7a87d
commit
dc45fbe25e
2 changed files with 26 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue