OSDN Git Service

fix some bug.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 23 Mar 2010 13:08:30 +0000 (13:08 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 23 Mar 2010 13:08:30 +0000 (13:08 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@506 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/auto_process.py
rec10/trunk/src/dbMySQL.py

index 2ef39e4..49ae7b8 100644 (file)
@@ -203,5 +203,7 @@ def kill_dead_encode(path):
             os.environ['LANG']="ja_JP.UTF-8"
             ktmp=u"kill -9 `ps auxw | grep \""+tspath+u"\" | egrep -v grep | egrep -v \"sh -c\" | grep mencoder | awk '{print $2}'`"
             kmmp=u"kill -9 `ps auxw | grep \""+m2vpath+u"\" | egrep -v grep | egrep -v \"sh -c\" | grep mencoder | awk '{print $2}'`"
+            recdblist.printutf8(ktmp)
+            recdblist.printutf8(kmmp)
             os.system(ktmp.encode('utf-8'))
             os.system(kmmp.encode('utf-8'))
\ No newline at end of file
index 1c284bd..64889a2 100644 (file)
@@ -413,6 +413,7 @@ class DB_MySQL:
         self.close_db(db)
         return ret
     def add_timeline(self, type="", chtxt="", title="", btime="", etime="", deltatime="", deltaday="", opt="" ,counter=-1):
+        print counter
         db = self.connect_db()
         db[1].execute('\
         INSERT IGNORE into timeline \