summaryrefslogtreecommitdiff
path: root/pygments/formatters/img.py
diff options
context:
space:
mode:
authorthatch <devnull@localhost>2010-05-05 17:40:08 -0700
committerthatch <devnull@localhost>2010-05-05 17:40:08 -0700
commitb14c9a5b9d0dfff0998a4028b0f416c659a2b43d (patch)
tree8e4cf552788e6548170e022c6117acda8b7baaa9 /pygments/formatters/img.py
parentd24ec36b2e3c7a26d5bc81144eeae5729174c07f (diff)
downloadpygments-b14c9a5b9d0dfff0998a4028b0f416c659a2b43d.tar.gz
502: Use full path for PIL module, to not rely on the pth file
Diffstat (limited to 'pygments/formatters/img.py')
-rw-r--r--pygments/formatters/img.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
index 69ac484b..62f5f9b3 100644
--- a/pygments/formatters/img.py
+++ b/pygments/formatters/img.py
@@ -18,7 +18,7 @@ from pygments.util import get_bool_opt, get_int_opt, \
# Import this carefully
try:
- import Image, ImageDraw, ImageFont
+ from PIL import Image, ImageDraw, ImageFont
pil_available = True
except ImportError:
pil_available = False