OSDN Git Service

db error fix.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sun, 7 Nov 2010 14:52:25 +0000 (14:52 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sun, 7 Nov 2010 14:52:25 +0000 (14:52 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@753 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/scan_ch.py

index fb7cba7..ed6d5c4 100644 (file)
@@ -84,7 +84,7 @@ def getTsProgNum(ch,tspath):
     pin=tspath
     pout=os.path.join(tmppath,"chscan.txt")
     chopt="-ch"
-    if ch.find("CS"):
+    if ch.find("CS")>-1:
         chopt="-cs"
     elif int(ch)>99:
         chopt="-bs"