From e3e75a40bf612e3cdcf8b48ab820c3370be8b972 Mon Sep 17 00:00:00 2001 From: expoonserver Date: Mon, 18 Jun 2018 23:43:20 +0100 Subject: [PATCH] Add missing linefeed on survey-parsing error message --- parsers/surveys.py | 4 ++-- 1 file 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'