소스 검색

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