可以用了吧

This commit is contained in:
2024-10-21 23:40:19 +08:00
parent 84a24636f4
commit e2d484c6de
3 changed files with 7 additions and 6 deletions

View File

@@ -322,7 +322,7 @@ async def _():
"-删除临时内容-",
)
global something_temporary
for index_, stuff_component in something_temporary.items():
for index_, stuff_component in something_temporary.copy().items():
if stuff_component["time"] <= 0: # type: ignore
if isinstance(stuff_component["stuff"], (str, Path, os.PathLike)):
try: