fix #1949 not add time to all place (#1951)

This commit is contained in:
Allen Guan
2021-07-18 16:14:09 +08:00
committed by GitHub
parent 13e36f8947
commit fabdb291e2
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ def export_ctf(path=None):
shutil.copyfileobj(backup, target)
else:
name = ctf_name()
day = datetime.datetime.now().strftime("%Y-%m-%d")
day = datetime.datetime.now().strftime("%Y-%m-%d_%T")
full_name = f"{name}.{day}.zip"
with open(full_name, "wb") as target: