[Pkg-mozext-commits] [adblock-plus] 407/464: Wait until images are loaded

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 75838171d3a41c58bfe6c2960f0d5dfd35f84fe3
Author: Felix Dahlke <felix at adblockplus.org>
Date:   Sat Nov 16 14:56:37 2013 +0100

    Wait until images are loaded
---
 imageConversion.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/imageConversion.py b/imageConversion.py
index edb6294..bd9116d 100644
--- a/imageConversion.py
+++ b/imageConversion.py
@@ -117,6 +117,7 @@ def convertImages(params, files):
     baseDir = os.path.dirname(metadata.option_source('convert_img', filename))
     steps = re.split(r'\s*->\s*', chain)
     image = Image.open(os.path.join(baseDir, *steps.pop(0).split('/')))
+    image.load()
 
     for step in steps:
       filter, args = re.match(r'([^(]+)(?:\((.*)\))?', step).groups()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list