Browse Source

Ugh wtf PIL

James Bowman 6 years ago
parent
commit
f1ebd20395
1 changed files with 5 additions and 1 deletions
  1. 5 1
      unit.py

+ 5 - 1
unit.py

@@ -1,5 +1,9 @@
 import unittest
-import Image
+try:
+    import Image
+except ImportError:
+    from PIL import Image
+
 import gameduino2 as gd2