OSDN Git Service

modify tune software and recording script.
[rec10/rec10-git.git] / rec10 / trunk / src / scan_ch.py
index 7130452..28f1b78 100644 (file)
@@ -36,7 +36,7 @@ def searchCh():
         for i2 in xrange(0,11):
             chi=u"BS"+str(2*i2+1)
             recdblist.printutf8ex(u"チャンネルスキャン:BSデジタル CH "+chi, 200, 200)
-            if chechTs(chi)>0:
+            if checkTs(chi)>0:
                 addCh(str(chi),u"bs","BS")
         time.sleep(1)
         #スカパーe2!
@@ -114,7 +114,7 @@ def getTsProgNum(ch,tspath):
     pin=tspath
     pout=os.path.join(tmppath,"chscan.txt")
     chopt="-ch"
-    if ch.find("CS")>-1 or ch.find("BS"):
+    if ch.find("CS")>-1 or ch.find("BS")>-1 :
         chopt="-cs"
     elif int(ch)>99:
         chopt="-bs"