mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
99231cff97
With hat: python Approved by: portmgr (bdrewery, implicit)
19 lines
595 B
Python
19 lines
595 B
Python
--- twms/drawing.py.orig 2014-10-07 11:57:57 UTC
|
|
+++ twms/drawing.py
|
|
@@ -13,7 +13,7 @@
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with tWMS. If not, see <http://www.gnu.org/licenses/>.
|
|
-import Image, ImageDraw
|
|
+from PIL import Image, ImageDraw
|
|
import urllib
|
|
import os, sys
|
|
|
|
@@ -79,4 +79,4 @@
|
|
draw.ellipse((coords[0][0]-3,coords[0][1]-3,coords[0][0]+3,coords[0][1]+3),fill=color,outline=color)
|
|
elif geometry == "POLYGON":
|
|
draw.polygon(coords, fill=color, outline=color)
|
|
- return img
|
|
\ No newline at end of file
|
|
+ return img
|