summaryrefslogtreecommitdiffstats
path: root/parsers/surveys.py
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
commit6652e3f160c919c484f9a1c670dbc52153116973 (patch)
tree7b57b75745e4b73933a1c03a46ca9ed4a733583a /parsers/surveys.py
parent751ec9517f56aefb10bbca5039f2d14b808e42b6 (diff)
downloadtroggle-6652e3f160c919c484f9a1c670dbc52153116973.tar.gz
troggle-6652e3f160c919c484f9a1c670dbc52153116973.tar.bz2
troggle-6652e3f160c919c484f9a1c670dbc52153116973.zip
remove code saying we can't do interlaced pngs. It's fine now.
Diffstat (limited to 'parsers/surveys.py')
-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