summaryrefslogtreecommitdiffstats
path: root/parsers/surveys.py
diff options
context:
space:
mode:
authorexpoonserver <devnull@localhost>2018-06-18 23:43:20 +0100
committerexpoonserver <devnull@localhost>2018-06-18 23:43:20 +0100
commit9802f4545265fe466fdf440f3a2fee903007792c (patch)
treea3da06029ea08ebf690d0ed42ea756bda04e0b53 /parsers/surveys.py
parent1ad58d6b5d26fe3dadf3e295f585804d4df24b4a (diff)
downloadtroggle-9802f4545265fe466fdf440f3a2fee903007792c.tar.gz
troggle-9802f4545265fe466fdf440f3a2fee903007792c.tar.bz2
troggle-9802f4545265fe466fdf440f3a2fee903007792c.zip
Add missing linefeed on survey-parsing error message
Diffstat (limited to 'parsers/surveys.py')
-rw-r--r--parsers/surveys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/surveys.py b/parsers/surveys.py
index 26e46f9..2c6f190 100644
--- a/parsers/surveys.py
+++ b/parsers/surveys.py
@@ -98,7 +98,7 @@ def parseSurveyScans(expedition, logfile=None):
# scanList = listdir(expedition.year, surveyFolder)
scanList=os.listdir(os.path.join(yearPath,surveyFolder))
except AttributeError:
- print surveyFolder + " ignored",
+ print surveyFolder + " ignored\r",
continue
for scan in scanList:
@@ -106,7 +106,7 @@ def parseSurveyScans(expedition, logfile=None):
scanChopped=re.match(r'(?i).*(notes|elev|plan|elevation|extend)(\d*)\.(png|jpg|jpeg)',scan).groups()
scanType,scanNumber,scanFormat=scanChopped
except AttributeError:
- print scan + " ignored \r",
+ print scan + " ignored\r",
continue
if scanType == 'elev' or scanType == 'extend':
scanType = 'elevation'