summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorexpoonserver <devnull@localhost>2015-10-02 15:07:03 +0100
committerexpoonserver <devnull@localhost>2015-10-02 15:07:03 +0100
commitfadf562fd92c8df403be883c397a83f739f55f78 (patch)
tree7b57b75745e4b73933a1c03a46ca9ed4a733583a
parentad640eb70aeff47873c24e867a231d047ba1fb09 (diff)
downloadtroggle-fadf562fd92c8df403be883c397a83f739f55f78.tar.gz
troggle-fadf562fd92c8df403be883c397a83f739f55f78.tar.bz2
troggle-fadf562fd92c8df403be883c397a83f739f55f78.zip
remove code saying we can't do interlaced pngs. It's fine now.
-rw-r--r--parsers/surveys.py10
1 files 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