فهرست منبع

wxGUI/psmap: update PIL import for pillow

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58940 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 سال پیش
والد
کامیت
0c5f80570f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      gui/wxpython/psmap/utils.py

+ 1 - 1
gui/wxpython/psmap/utils.py

@@ -21,7 +21,7 @@ import string
 from math import ceil, floor, sin, cos, pi
 
 try:
-    import Image as PILImage
+    from PIL import Image as PILImage
     havePILImage = True
 except ImportError:
     havePILImage = False