diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-08 01:09:06 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-08 01:09:06 +0100 |
commit | cb5b80353daec09cf6db290d182f51be1befe77d (patch) | |
tree | a5b493e6dee4643e11f8758eaafa04bafdfe4e3a /parsers | |
parent | b7d54111ba1b698ed57eb7b3a69896c7f6146cb5 (diff) | |
download | troggle-cb5b80353daec09cf6db290d182f51be1befe77d.tar.gz troggle-cb5b80353daec09cf6db290d182f51be1befe77d.tar.bz2 troggle-cb5b80353daec09cf6db290d182f51be1befe77d.zip |
Therion files now handled
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/surveys.py | 2 |
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] |