From 95e5129f1ab3d9d375e711e53da77d429b4112a3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 16 Jan 2012 11:39:31 +0530 Subject: [PATCH] conditionally import image module --- ox/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ox/__init__.py b/ox/__init__.py index 54d7c45..1f509aa 100644 --- a/ox/__init__.py +++ b/ox/__init__.py @@ -15,7 +15,11 @@ from file import * from form import * from format import * from html import * -from image import * +#image depends on PIL, not easy enough to instal on osx +try: + from image import * +except: + pass from location import * from movie import * from normalize import *