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,
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user