OSDN Git Service

fix auto_jbk bugs.
[rec10/rec10-git.git] / rec10 / trunk / src / recdb.py
index 6fc5b30..4c92fc8 100644 (file)
@@ -76,8 +76,12 @@ def getAllJbkKeyword():
     return rec10d.rec10db.select_all_in_auto_jbk_key()\r
 def checkDuplicated(title,chtxt,epgbtime,epgetime):\r
     tl=rec10d.rec10db.select_byepgtime_all_timeline(epgbtime,epgetime)\r
+    nel=rec10d.rec10db.select_bytime_all_timeline(epgbtime, epgetime)\r
     dup=0\r
     for t in tl:\r
         if t["title"]==title and t["chtxt"]==chtxt:\r
             dup=1\r
+    for t in nel:\r
+        if t["title"]==title and t["chtxt"]==chtxt:\r
+            dup=1\r
     return dup\r