From fadf562fd92c8df403be883c397a83f739f55f78 Mon Sep 17 00:00:00 2001 From: expoonserver Date: Fri, 2 Oct 2015 15:07:03 +0100 Subject: [PATCH] remove code saying we can't do interlaced pngs. It's fine now. --- parsers/surveys.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parsers/surveys.py b/parsers/surveys.py index 07e8cc2..df73ae0 100644 --- a/parsers/surveys.py +++ b/parsers/surveys.py @@ -129,11 +129,11 @@ def parseSurveyScans(expedition, logfile=None): survey=survey, new_since_parsing=False, ) - #print "Added scanned image at " + str(scanObj) - if scanFormat=="png": - if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)): - print file_+ " is an interlaced PNG. No can do." - continue + print "Added scanned image at " + str(scanObj) + #if scanFormat=="png": + #if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)): + # print file_+ " is an interlaced PNG. No can do." + #continue scanObj.save() # dead