[Spambayes-checkins] spambayes/Outlook2000/dialogs dialog_map.py,
1.41, 1.42
Tony Meyer
anadelonbrin at users.sourceforge.net
Mon Dec 6 00:28:53 CET 2004
Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7228/Outlook2000/dialogs
Modified Files:
dialog_map.py
Log Message:
Fix [ 1078923 ] Unicode support incomplete
(Need to encode the data_directory when asking the OS to show it).
Index: dialog_map.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/dialog_map.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** dialog_map.py 11 Nov 2004 21:55:40 -0000 1.41
--- dialog_map.py 5 Dec 2004 23:28:50 -0000 1.42
***************
*** 236,240 ****
"""
import os
! os.startfile(window.manager.data_directory)
def ShowLog(window):
"""Opens the log file for the current SpamBayes session
--- 236,242 ----
"""
import os
! import sys
! filesystem_encoding = sys.getfilesystemencoding()
! os.startfile(window.manager.data_directory.encode(filesystem_encoding))
def ShowLog(window):
"""Opens the log file for the current SpamBayes session
More information about the Spambayes-checkins
mailing list