OSDN Git Service

make DVB driver usable.
[rec10/rec10-git.git] / rec10 / trunk / src / timerec.py
index 497dedf..18c403a 100644 (file)
@@ -43,7 +43,7 @@ def task():
             scan_ch.searchCh()
             rec10d.rec10db.change_installed_in_status(100)
         elif rec10d.rec10db.select_installed_in_status()==2:
-            recdblist.printuft8ex("Exit because CH scanning.", 200, 200)
+            recdblist.printutf8ex("Exit because CH scanning.", 200, 200)
             sys.exit(0)
     except Exception, inst:
         recdblist.addCommonlogEX("Error", "install_check(timerec.py)", str(type(inst)),str(inst)+traceback.format_exc(),log_level=200)
@@ -503,7 +503,7 @@ def type_keyword(typetxt,chtxt,title,bt,et,opt,deltatime):
         recdb.deleteReckey(typetxtnow, title, chtxt, btime)
         recdb.reserveReckey(typetxtres, title, chtxt, btime, etime, opt)
         recdblist.addCommonlogEX(u"エラー","timerec.py",u"nothing match","",log_level=200)
-        recdblist.addCommonlogEX(u"エラー","timerec.py",u"key "+title+u" : "+titlet+u" "+btimet+u" "+etimet,"",log_level=200)
+        recdblist.addCommonlogEX(u"エラー","timerec.py",u"key "+title+u" "+btime+u" "+etime,"",log_level=200)
 def type_keyword_every_day(type,chtxt,title,bt,et,opt,deltatime,deltaday,counter):
     btime = bt.strftime("%Y-%m-%d %H:%M:%S")
     etime = et.strftime("%Y-%m-%d %H:%M:%S")