Skip to content
Snippets Groups Projects
Commit 5b44aabf authored by Christoph Gohlke's avatar Christoph Gohlke
Browse files

Import Image from the PIL namespace

Fixes import error when using Pillow, a PIL fork with many bug fixes and Python 3 compatibility.
parent 21574187
No related branches found
No related tags found
No related merge requests found
...@@ -108,8 +108,7 @@ calc_fractal = calc_fractal_opencl ...@@ -108,8 +108,7 @@ calc_fractal = calc_fractal_opencl
if __name__ == '__main__': if __name__ == '__main__':
import Tkinter as tk import Tkinter as tk
import Image # PIL from PIL import Image, ImageTk
import ImageTk # PIL
class Mandelbrot(object): class Mandelbrot(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment