Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
abc1763613206 committed Feb 17, 2021
1 parent a05d2f1 commit c57b4d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import requests
import subprocess
import time
import shutil
from ffmpy import FFprobe
from subprocess import PIPE
from sys import stdout
Expand Down Expand Up @@ -92,6 +93,11 @@ def main():
fulltimes = '-{}{}{}{}{}'.format(dt.year,dt.month,dt.day,dt.hour,dt.minute) # 时间后缀
# times = fulltimes # 有时间后缀
times = '' # 无时间后缀
# 清空旧文件
shutil.rmtree('groups')
os.mkdir('groups')
os.remove('merged.txt')
os.remove('merged-simple.txt')
with open('data.csv') as f:
f_csv = csv.reader(f)
headers = next(f_csv)
Expand Down

0 comments on commit c57b4d7

Please sign in to comment.