2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 03:07:48 +00:00

remove os.path

This commit is contained in:
2026-01-31 20:02:40 +00:00
parent c3eecdb880
commit a04652af75

View File

@@ -534,8 +534,8 @@ def load_drawings_files():
DataIssue.objects.filter(parser="Tunnel").delete()
DataIssue.objects.filter(parser="z_Therion").delete()
DataIssue.objects.filter(parser="z_Tunnel").delete()
if os.path.isfile("therionrefs.log"):
os.remove("therionrefs.log")
if (drawdatadir / "therionrefs.log").is_file():
(drawdatadir / "therionrefs.log").unlink()
# Walk the tree with pathlib, skip hidden and backup files
files_meta = [] # list of tuples (ext, rel_path, dwgname, pathobj)