Skip to content

Commit

Permalink
Using global PIL imports rather than namespaced PIL imports. (import …
Browse files Browse the repository at this point in the history
…Image vs. from PIL import Image)
  • Loading branch information
samuelclay committed Jan 30, 2011
1 parent cae7563 commit f9062ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/rss_feeds/icon_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import urlparse
import struct
import operator
import BmpImagePlugin, PngImagePlugin, Image
from StringIO import StringIO
from apps.rss_feeds.models import MFeedPage
from PIL import BmpImagePlugin, PngImagePlugin, Image

HEADERS = {
'User-Agent': 'NewsBlur Favicon Fetcher - http://www.newsblur.com',
Expand Down

0 comments on commit f9062ed

Please sign in to comment.