This commit is contained in:
ed
2023-09-08 21:42:05 +00:00
parent 714fd1811a
commit 3d9fb753ba
4 changed files with 7 additions and 6 deletions

View File

@@ -2581,7 +2581,8 @@ class HttpCli(object):
return True
mdir, mfile = os.path.split(fp)
mfile2 = "{}.{:.3f}.md".format(mfile[:-3], srv_lastmod)
fname, fext = mfile.rsplit(".", 1) if "." in mfile else (mfile, "md")
mfile2 = "{}.{:.3f}.{}".format(fname, srv_lastmod, fext)
try:
dp = os.path.join(mdir, ".hist")
bos.mkdir(dp)