2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 23:31:52 +00:00

[svn] Make the workaround to avoid parsing interlaced pngs actually work (see issue # 14)

This commit is contained in:
substantialnoninfringinguser 2009-05-15 03:56:11 +01:00
parent f27d5988f0
commit 7566faf77b
2 changed files with 6 additions and 3 deletions

View File

@ -126,5 +126,8 @@ def parseSurveys(logfile=None):
def isInterlacedPNG(filePath): #We need to check for interlaced PNGs because the thumbnail engine can't handle them (uses PIL) def isInterlacedPNG(filePath): #We need to check for interlaced PNGs because the thumbnail engine can't handle them (uses PIL)
file=Image.open(filePath) file=Image.open(filePath)
print filePath
if 'interlace' in file.info:
return file.info['interlace'] return file.info['interlace']
else:
return False

View File

@ -13,7 +13,7 @@
{% block head %}{% endblock %} {% block head %}{% endblock %}
</head> </head>
<body> <body onLoad="contentHeight()">
<div id="header"> <div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2009</h1> <h1>CUCC Expeditions to Austria: 1976 - 2009</h1>