fix up glob

Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
Zach Halpern
2019-04-02 22:44:46 -04:00
parent 1a7f698e58
commit 5629d02f3c

View File

@@ -545,7 +545,7 @@ def delete_old_files() -> None:
"SpoilerSeasonEnabled",
]
for file in OUTPUT_DIR.glob("*.xml"):
for file in OUTPUT_DIR.glob("*.*"):
if file.stem not in valid_files:
file.unlink()