Skip to content

Commit 8825c05

Browse files
authored
Update movefiles.py
1 parent c6bca57 commit 8825c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

movefiles.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_filecreatetime(filename):
4545
log_time=time.strftime("%Y%m%d%H%M%S", time.localtime())
4646
file_name='move_'+log_time+'.txt'
4747
log_file = open(file_name, 'w')
48-
sys.stdout = log_file
48+
sys.stdout = log_file #输出重定向至文件
4949
nowtime = datetime.datetime.now()
5050
#path=raw_input('请输入要统计的文件夹:')
5151
#print path.split(':')[0].lower()

0 commit comments

Comments
 (0)