mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-03 09:21:48 +01:00
Fix erroring code in core/views/caves.py
This commit is contained in:
parent
17bbbd6eab
commit
57c4732566
@ -188,7 +188,7 @@ def file3d(request, cave, cave_id):
|
|||||||
# These if statements need refactoring more cleanly
|
# These if statements need refactoring more cleanly
|
||||||
if cave.survex_file:
|
if cave.survex_file:
|
||||||
#print(" - cave.survex_file '{}'".format(cave.survex_file))
|
#print(" - cave.survex_file '{}'".format(cave.survex_file))
|
||||||
if threedpath.Pathis_file():
|
if threedpath.is_file():
|
||||||
#print(" - threedpath '{}'".format(threedpath))
|
#print(" - threedpath '{}'".format(threedpath))
|
||||||
# possible error here as several .svx files of same names in different directories will overwrite in /3d/
|
# possible error here as several .svx files of same names in different directories will overwrite in /3d/
|
||||||
if survexpath.is_file():
|
if survexpath.is_file():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user