diff options
author | root <root@rshg054.dnsready.net> | 2013-10-01 03:07:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-01 03:07:25 -0700 |
commit | a1792bae6f21dd0cca9e5a0d5cfad55edc1c4955 (patch) | |
tree | 1c6225df5977b18e7eb68340f773a18bd26dc500 /community/gwibber/gwibber-pillow.patch | |
parent | a1ba981700ea6943bedc5d7bb769b1f893088c7f (diff) |
Tue Oct 1 03:05:59 PDT 2013
Diffstat (limited to 'community/gwibber/gwibber-pillow.patch')
-rw-r--r-- | community/gwibber/gwibber-pillow.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/gwibber/gwibber-pillow.patch b/community/gwibber/gwibber-pillow.patch new file mode 100644 index 000000000..211d22e73 --- /dev/null +++ b/community/gwibber/gwibber-pillow.patch @@ -0,0 +1,24 @@ +diff -Naur gwibber-3.6.0.orig/gwibber/microblog/util/imagehandler.py gwibber-3.6.0/gwibber/microblog/util/imagehandler.py +--- gwibber-3.6.0.orig/gwibber/microblog/util/imagehandler.py 2012-08-21 06:14:09.000000000 +0200 ++++ gwibber-3.6.0/gwibber/microblog/util/imagehandler.py 2013-09-15 15:03:07.056371930 +0200 +@@ -1,6 +1,7 @@ + #!/usr/bin/env python + +-import os, hashlib, urllib2, Image ++import os, hashlib, urllib2 ++from PIL import Image + + DEFAULT_AVATAR = 'http://digg.com/img/udl.png' + +diff -Naur gwibber-3.6.0.orig/gwibber/microblog/util/resources.py gwibber-3.6.0/gwibber/microblog/util/resources.py +--- gwibber-3.6.0.orig/gwibber/microblog/util/resources.py 2012-08-21 06:14:09.000000000 +0200 ++++ gwibber-3.6.0/gwibber/microblog/util/resources.py 2013-09-15 15:02:36.825648020 +0200 +@@ -8,7 +8,7 @@ + from hashlib import sha1 + from os import makedirs, remove, environ + from os.path import join, isdir, realpath, exists +-import Image ++from PIL import Image + from datetime import datetime + from gwibber.microblog import network + from gwibber.microblog.util.const import * |