if os.path.exists(path):
recdblist.printutf8(dp)
os.remove(dp)
if os.path.exists(path):
recdblist.printutf8(dp)
os.remove(dp)
- ""
- except:
- ""
\ No newline at end of file
+ except Exception, inst:
+ print type(inst)
+ print str(inst)
\ No newline at end of file
auto_move.execMove(t, recpath, recordedpath,".mp4",1)
else:
recdblist.printutf8(t+" can't find matching folder")
auto_move.execMove(t, recpath, recordedpath,".mp4",1)
else:
recdblist.printutf8(t+" can't find matching folder")
+ elif opts.delete:##-Dの場合
sa=auto_move.search_file(recpath, recordedpath,".mkv")
for t in sa:
auto_move.execDelete(t, recpath)
sa=auto_move.search_file(recpath, recordedpath,".mkv")
for t in sa:
auto_move.execDelete(t, recpath)