mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-14 07:18:45 +00:00
bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user