diff options
author | Expo on server <expo@expo.survex.com> | 2022-08-25 03:31:54 +0100 |
---|---|---|
committer | Expo on server <expo@expo.survex.com> | 2022-08-25 03:31:54 +0100 |
commit | 57c4732566b0faad1ba35e3f7cdfd9693d65f54f (patch) | |
tree | f83eeeeedd2c4021ad082aa17fe3ddd9554a47e5 | |
parent | 17bbbd6eabe24b169c66f2c6534f0b0589a69744 (diff) | |
download | troggle-57c4732566b0faad1ba35e3f7cdfd9693d65f54f.tar.gz troggle-57c4732566b0faad1ba35e3f7cdfd9693d65f54f.tar.bz2 troggle-57c4732566b0faad1ba35e3f7cdfd9693d65f54f.zip |
Fix erroring code in core/views/caves.py
-rw-r--r-- | core/views/caves.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/caves.py b/core/views/caves.py index 26ac87f..960d373 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -188,7 +188,7 @@ def file3d(request, cave, cave_id): # These if statements need refactoring more cleanly if cave.survex_file: #print(" - cave.survex_file '{}'".format(cave.survex_file)) - if threedpath.Pathis_file(): + if threedpath.is_file(): #print(" - threedpath '{}'".format(threedpath)) # possible error here as several .svx files of same names in different directories will overwrite in /3d/ if survexpath.is_file(): |