summaryrefslogtreecommitdiffstats
path: root/parsers/surveys.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/surveys.py')
-rw-r--r--parsers/surveys.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/surveys.py b/parsers/surveys.py
index dbbc537..40a12f0 100644
--- a/parsers/surveys.py
+++ b/parsers/surveys.py
@@ -217,6 +217,8 @@ rx_pcpath = re.compile(rb'<pcarea area_signal="frame".*?sfsketch="([^"]*)" sfsty
def settunnelfileinfo(tunnelfile):
'''Read in the drawing file contents and sets values on the tunnelfile object
+ Should try to read the date too e.g. tunneldate="2010-08-16 22:51:57
+ then we could display on the master calendar per expo.
'''
ff = os.path.join(settings.TUNNEL_DATA, tunnelfile.tunnelpath)
tunnelfile.filesize = os.stat(ff)[stat.ST_SIZE]