OSDN Git Service

modify tune software and recording script.
[rec10/rec10-git.git] / rec10 / trunk / src / scan_ch.py
index a7d30cb..28f1b78 100644 (file)
@@ -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"