X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/15a3ebaaddc23a2f69048d1def5a7f960d141d6b..24a7e923346be5e355a7d61e642fc469310444ef:/im_debug.py?ds=inline diff --git a/im_debug.py b/im_debug.py index 44ee17c..9916e92 100644 --- a/im_debug.py +++ b/im_debug.py @@ -1,12 +1,11 @@ try: import pygame - import Image except ImportError, msg: import sys print >>sys.stderr, msg sys.exit(1) -def show(image, caption=''): +def show(image, caption='', name=None): if image.mode != 'RGB': image = image.convert('RGB') pygame.init()