changeset 1722:78cdb73a0b2a maint-0.5

missed a usage of the database
author Richard Jones <richard@users.sourceforge.net>
date Fri, 18 Jul 2003 05:40:44 +0000
parents 8fbfe479a873
children 311375e4f2fe
files roundup/cgi/client.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/client.py	Mon Jul 14 06:26:09 2003 +0000
+++ b/roundup/cgi/client.py	Fri Jul 18 05:40:44 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.65.2.13 2003-06-24 05:19:10 richard Exp $
+# $Id: client.py,v 1.65.2.14 2003-07-18 05:40:44 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -390,6 +390,7 @@
             raise NotFound, designator
 
         # we just want to serve up the file named
+        self.opendb('admin')
         file = self.db.file
         self.additional_headers['Content-Type'] = file.get(nodeid, 'type')
         self.write(file.get(nodeid, 'content'))

Roundup Issue Tracker: http://roundup-tracker.org/