forked from expo/troggle
Add missing linefeed on survey-parsing error message
This commit is contained in:
parent
b4d3cb514c
commit
e3e75a40bf
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user