summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
authorWookey <wookey@wookware.org>2019-04-02 00:57:54 +0100
committerWookey <wookey@wookware.org>2019-04-02 00:57:54 +0100
commitc4301cf6df56ba1bef4f2c908b949a2b45ea65dc (patch)
tree9c6bb4a4530824c8e072984a0346509298188030 /parsers/survex.py
parentde7d68b1eb70542f66092cb0048af3d096e6980c (diff)
parentbb8dbb381fe87c3a63e9586a1bf1e993b09c965b (diff)
downloadtroggle-c4301cf6df56ba1bef4f2c908b949a2b45ea65dc.tar.gz
troggle-c4301cf6df56ba1bef4f2c908b949a2b45ea65dc.tar.bz2
troggle-c4301cf6df56ba1bef4f2c908b949a2b45ea65dc.zip
Merge lots of troggle fixes
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index 536314f..a999c43 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -92,13 +92,13 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
teammembers = [ ]
# uncomment to print out all files during parsing
- print("Reading file:", survexblock.survexfile.path)
+ print("Reading file: " + survexblock.survexfile.path)
while True:
svxline = fin.readline().decode("latin1")
if not svxline:
return
textlines.append(svxline)
-
+
# break the line at the comment
sline, comment = re.match(r"([^;]*?)\s*(?:;\s*(.*))?\n?$", svxline.strip()).groups()