OSDN Git Service

fix bug.
[rec10/rec10-git.git] / Rec10WEB / trunk / src / rec10web.py
index b12e0cb..cd18438 100644 (file)
@@ -22,6 +22,7 @@ elif (os.path.exists(os.path.join("/etc/rec10",Conf))):
     cpath=os.path.join("/etc/rec10",Conf)
 elif (os.path.exists(os.path.join("/etc",Conf))):
     cpath=os.path.join("/etc",Conf)
+
 confp.read(cpath)
 global f
 f = cgi.FieldStorage()
@@ -294,7 +295,7 @@ def mode_recover():
 def mode_normal():
     htmdate = readHtmlSrcSimple()
     htmdate = htmdate.replace("<!--exec-value//-->", "yes")
-    return htmdate
+    return unicode(htmdate,'utf-8')
 def mode_del():
     s = u"予約を削除しました。"
     u = "rec10web.py?exec=schedule"