forked from expo/troggle
remove code saying we can't do interlaced pngs. It's fine now.
This commit is contained in:
parent
ad640eb70a
commit
fadf562fd9
@ -129,11 +129,11 @@ def parseSurveyScans(expedition, logfile=None):
|
|||||||
survey=survey,
|
survey=survey,
|
||||||
new_since_parsing=False,
|
new_since_parsing=False,
|
||||||
)
|
)
|
||||||
#print "Added scanned image at " + str(scanObj)
|
print "Added scanned image at " + str(scanObj)
|
||||||
if scanFormat=="png":
|
#if scanFormat=="png":
|
||||||
if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)):
|
#if isInterlacedPNG(os.path.join(settings.SURVEY_SCANS, "surveyscans", file_)):
|
||||||
print file_+ " is an interlaced PNG. No can do."
|
# print file_+ " is an interlaced PNG. No can do."
|
||||||
continue
|
#continue
|
||||||
scanObj.save()
|
scanObj.save()
|
||||||
|
|
||||||
# dead
|
# dead
|
||||||
|
Loading…
Reference in New Issue
Block a user