OSDN Git Service

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

rec10/trunk/src/classify.py

index 13fa6b4..d7fe312 100644 (file)
@@ -428,12 +428,12 @@ if __name__ == "__main__":
         except:
             ""
         if tsmovepath!="":
-            sa=auto_move.search_file(recpath, recordedpath,".ts")
+            sa=auto_move.search_file(recpath, tsmovepath,".ts")
             for t in sa:
-                sf=auto_move.searchFolder(t,recordedpath,700)
+                sf=auto_move.searchFolder(t,tsmovepath,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")
+            sa=auto_move.search_file(recpath, tsmovepath,".ts")
         else:
             recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。")
     elif opts.tsmove:
@@ -443,14 +443,14 @@ if __name__ == "__main__":
         except:
             ""
         if tsmovepath!="":
-            sa=auto_move.search_file(recpath, recordedpath,".ts")
+            sa=auto_move.search_file(recpath, tsmovepath,".ts")
             for t in sa:
-                sf=auto_move.searchFolder(t,recordedpath,700)
+                sf=auto_move.searchFolder(t,tsmovepath,700)
                 if sf!="":
                     recdblist.printutf8(u"移動先")
                     recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts"))
                     recdblist.printutf8(u"実行中")
-                    auto_move.execMove(t, recpath, recordedpath,".ts",0)
-            sa=auto_move.search_file(recpath, recordedpath,".ts")
+                    auto_move.execMove(t, recpath, tsmovepath,".ts",0)
+            sa=auto_move.search_file(recpath, tsmovepath,".ts")
         else:
             recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。")
\ No newline at end of file