From b87eee40d0489c7746b40ec95a8c9e6804a328f8 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 1 Sep 2014 12:38:14 +0200 Subject: [PATCH] from PIL import Image --- oml/item/icons.py | 2 +- oml/item/models.py | 2 +- oml/media/epub.py | 2 +- oml/utils.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oml/item/icons.py b/oml/item/icons.py index 0e5e624..094aa37 100644 --- a/oml/item/icons.py +++ b/oml/item/icons.py @@ -3,7 +3,7 @@ from __future__ import division, with_statement from StringIO import StringIO -import Image +from PIL import Image import sqlite3 import tornado.concurrent diff --git a/oml/item/models.py b/oml/item/models.py index d3a2fcd..760f7d2 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -12,7 +12,7 @@ import re import shutil import unicodedata -import Image +from PIL import Image import ox import sqlalchemy as sa diff --git a/oml/media/epub.py b/oml/media/epub.py index 0254a21..a4f931f 100644 --- a/oml/media/epub.py +++ b/oml/media/epub.py @@ -8,7 +8,7 @@ import zipfile from StringIO import StringIO import re -import Image +from PIL import Image import stdnum.isbn from utils import normalize_isbn, find_isbns diff --git a/oml/utils.py b/oml/utils.py index cdd769b..6c8edc5 100644 --- a/oml/utils.py +++ b/oml/utils.py @@ -4,7 +4,7 @@ from __future__ import division import os import sys -import Image +from PIL import Image from StringIO import StringIO import re import stdnum.isbn