OSDN Git Service

fix a miss
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 10 Jun 2009 10:25:28 +0000 (10:25 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 10 Jun 2009 10:25:28 +0000 (10:25 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@54 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/chdata.py

index 6be1e95..f9b3c84 100644 (file)
@@ -37,7 +37,7 @@ def chadd(bctype, ontv, chtxt, ch, csch,station,station_name):#すべて文字
     チャンネルの数字を足したものにする
     """
     db = sqlite3.connect(dbpath)
-    value = "(\'" + bctype + "\',\'" + ontv + "\',\'" + chtxt + "\',\'" + ch + "\',\'" + csch +"\',\'"+station_name+ "\',\'" +station+ "\',datetime(\'2009-04-01 00:00:00\'))"
+    value = "(\'" + bctype + "\',\'" + ontv + "\',\'" + chtxt + "\',\'" + ch + "\',\'" + csch +"\',\'"+station+ "\',\'" +station_name+ "\',datetime(\'2009-04-01 00:00:00\'))"
     print value
     value = unicode(value)
     db.execute('insert into chdata values ' + value)