Skip to content

Commit fdd1a40

Browse files
author
Richard Jones
committed
oops, we really do need a database
1 parent 0da04ba commit fdd1a40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

roundup/cgi/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.125 2003-07-03 23:43:47 richard Exp $
1+
# $Id: client.py,v 1.126 2003-07-21 22:56:54 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -317,6 +317,9 @@ def clean_sessions(self):
317317
def determine_user(self):
318318
''' Determine who the user is
319319
'''
320+
# open the database as admin
321+
self.opendb('admin')
322+
320323
# clean age sessions
321324
self.clean_sessions()
322325

0 commit comments

Comments
 (0)