summaryrefslogtreecommitdiffstats
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
commite3e75a40bf612e3cdcf8b48ab820c3370be8b972 (patch)
treea3da06029ea08ebf690d0ed42ea756bda04e0b53
parentb4d3cb514c96412c40b06969f29bf80a1b9dab6c (diff)
downloadtroggle-e3e75a40bf612e3cdcf8b48ab820c3370be8b972.tar.gz
troggle-e3e75a40bf612e3cdcf8b48ab820c3370be8b972.tar.bz2
troggle-e3e75a40bf612e3cdcf8b48ab820c3370be8b972.zip
Add missing linefeed on survey-parsing error message
-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'