OSDN Git Service

fix chdata flag bug.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 9 Sep 2009 14:13:05 +0000 (14:13 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 9 Sep 2009 14:13:05 +0000 (14:13 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@152 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/epgdb.py

index 9013e1e..0372d1d 100644 (file)
@@ -37,8 +37,7 @@ def updatebc(bctype):
         print type(inst)
         print inst
         xml2db.xml2db(tmppath + bctype + "epgdate.bak.xml", bctype)
-        if rec10d.rec10db.select_by_bctype_chdata(bctype)[0][6] != "0":
-            rec10d.rec10db.update_status_by_bctype_chdata(bctype, "2")
+        rec10d.rec10db.update_status_by_bctype_chdata(bctype, "2")
 def updatebc_bak(bctype):
     """
     update epg data by .bak file