OSDN Git Service

fix miss
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 24 Mar 2010 02:43:59 +0000 (02:43 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 24 Mar 2010 02:43:59 +0000 (02:43 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@514 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/classify.py

index 772ae16..029028d 100644 (file)
@@ -424,13 +424,13 @@ if __name__ == "__main__":
     elif opts.tssearch:
         tsmovepath=""
         try:
-            tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8',700)
+            tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8')
         except:
             ""
         if tsmovepath!="":
             sa=auto_move.search_file(recpath, recordedpath,".ts")
             for t in sa:
-                sf=searchFolder(t,recordedpath)
+                sf=searchFolder(t,recordedpath,700)
                 if sf!="":
                     recdblist.printutf8(t+u" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts"))
             sa=auto_move.search_file(recpath, recordedpath,".ts")
@@ -439,13 +439,13 @@ if __name__ == "__main__":
     elif opts.tsmove:
         tsmovepath=""
         try:
-            tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8',700)
+            tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8')
         except:
             ""
         if tsmovepath!="":
             sa=auto_move.search_file(recpath, recordedpath,".ts")
             for t in sa:
-                sf=searchFolder(t,recordedpath)
+                sf=searchFolder(t,recordedpath,700)
                 if sf!="":
                     recdblist.printutf8(u"移動先")
                     recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts"))