Author: duncan
Date: Thu Jun  7 16:29:13 2007
New Revision: 9666

Modified:
   branches/rel-1/freevo/src/helpers/recordserver.py

Log:
Fixed the encoding that should have come from config


Modified: branches/rel-1/freevo/src/helpers/recordserver.py
==============================================================================
--- branches/rel-1/freevo/src/helpers/recordserver.py   (original)
+++ branches/rel-1/freevo/src/helpers/recordserver.py   Thu Jun  7 16:29:13 2007
@@ -87,7 +87,7 @@
         # add the current trace to the string
         where =  traceback.extract_stack(limit = 2)[0]
         if isinstance(s, unicode):
-            s = s.encode(encoding, 'replace')
+            s = s.encode(config.encoding, 'replace')
         s = '%s %-6s: %s' % (where[0][where[0].rfind('/')+1:], 
'('+str(where[1])+')', s)
         # print debug message
         if level <= config.DCRITICAL:

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to