2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-14 07:18:45 +00:00
This commit is contained in:
2025-09-20 22:44:48 +03:00
parent a32bee3c8c
commit 5b129fee8f

View File

@@ -431,11 +431,12 @@ class Wallet(models.Model):
# Notes, Plan, Elevation
files = self.get_fnames()
files_list = self.get_fnames()
files = []
sexytopo = False
for f in files:
if not isinstance(f, Path): # ignore directories which have been turned into strings
files.remove(f)
for f in files_list:
if isinstance(f, Path): # ignore directories which have been turned into strings
files.append(f)
if str(f).endswith(".data.json"): # we have sexytopo data
sexytopo = True