fix imports in manual, better README
[imago.git] / src / manual.py
index fb7f832..67f58e0 100644 (file)
@@ -1,7 +1,8 @@
 """Manual grid selection module"""
 
-from PIL import ImageDraw
 from math import sqrt, acos, copysign
+from PIL import ImageDraw
+import pygame
 
 from geometry import l2ad, line, intersection
 
@@ -23,7 +24,6 @@ class Screen:
 
 def find_lines(im_orig):
     # TODO rename, refactor, comment
-    import pygame
 
     im = im_orig.copy()