mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 13:03:46 +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="Tunnel").delete()
|
||||||
DataIssue.objects.filter(parser="z_Therion").delete()
|
DataIssue.objects.filter(parser="z_Therion").delete()
|
||||||
DataIssue.objects.filter(parser="z_Tunnel").delete()
|
DataIssue.objects.filter(parser="z_Tunnel").delete()
|
||||||
if os.path.isfile("therionrefs.log"):
|
if (drawdatadir / "therionrefs.log").is_file():
|
||||||
os.remove("therionrefs.log")
|
(drawdatadir / "therionrefs.log").unlink()
|
||||||
|
|
||||||
# Walk the tree with pathlib, skip hidden and backup files
|
# Walk the tree with pathlib, skip hidden and backup files
|
||||||
files_meta = [] # list of tuples (ext, rel_path, dwgname, pathobj)
|
files_meta = [] # list of tuples (ext, rel_path, dwgname, pathobj)
|
||||||
|
|||||||
Reference in New Issue
Block a user