mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix date format in bwcli tests
This commit is contained in:
parent
cfdde17efb
commit
d4751a9d3f
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ try:
|
|||
print(f"❌ Command failed, exiting ...\noutput: {result.output.decode()}\nexit_code: {result.exit_code}", flush=True)
|
||||
exit(1)
|
||||
|
||||
date = datetime.strptime("-".join(Path(file.decode()).stem.split("-")[2:]), "%Y-%m-%d_%H-%M-%S").strftime("%d/%m/%Y %H:%M:%S").encode()
|
||||
date = datetime.strptime("-".join(Path(file.decode()).stem.split("-")[2:]), "%Y-%m-%d_%H-%M-%S").strftime("%Y/%m/%d %H:%M:%S").encode()
|
||||
found = False
|
||||
for line in result.output.splitlines():
|
||||
if date in line:
|
||||
|
|
|
|||
Loading…
Reference in a new issue