每完成一部影片刷新一下输出,以免等到程序结束才看到日志内容

This commit is contained in:
lededev
2021-09-27 03:23:33 +08:00
parent cc36562c17
commit 3ef0db1890

View File

@@ -338,6 +338,7 @@ f'[!]运行模式:**维护模式**,本程序将在处理{count_all}个视频
percentage = str(count / int(count_all) * 100)[:4] + '%'
print('[!] - ' + percentage + ' [' + str(count) + '/' + count_all + '] -')
create_data_and_move(movie_path, conf, conf.debug())
sys.stdout.flush()
if count >= stop_count:
print("[!]Stop counter triggered!")
break