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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user