OSDN Git Service

implement auto delete.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 7 Aug 2010 07:25:03 +0000 (07:25 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 7 Aug 2010 07:25:03 +0000 (07:25 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@667 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/auto_move.py

index 2dbd507..0be4973 100644 (file)
@@ -138,7 +138,7 @@ def execDelete(title,temppath):
     recdblist.printutf8(title+u" 関連の一時ファイルを削除します")
     for dp in delpath:
         try:
-            if os.path.exists(path):
+            if os.path.exists(dp):
                 recdblist.printutf8(dp)
                 os.remove(dp)
         except Exception, inst: