Code

hrm, wonder how that snuck in
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 3 Sep 2002 07:13:42 +0000 (07:13 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 3 Sep 2002 07:13:42 +0000 (07:13 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1046 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 9c786f99376c60c31ab7bb438c4ea9d493024829..39ceb82d1a0537fc78605e34be5af12620fcc9d5 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.8 2002-09-03 03:23:56 richard Exp $
+# $Id: client.py,v 1.9 2002-09-03 07:13:42 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -125,7 +125,7 @@ class Client:
         except SendFile, designator:
             self.serve_file(designator)
         except SendStaticFile, file:
-            self.serve_static_file(file)
+            self.serve_static_file(str(file))
         except Unauthorised, message:
             self.write(self.template('page.unauthorised',
                 error_message=message))