1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Added checkings for PIL library.

This commit is contained in:
2006-11-30 11:39:49 +00:00
parent fa7217d7bc
commit a795707afe

View File

@@ -49,9 +49,16 @@ if conf.confd['exportxls']:
except: except:
print "You'll need pyExcelerator, if you want to export DB to XLS format.\nhttp://sourceforge.net/projects/pyexcelerator" print "You'll need pyExcelerator, if you want to export DB to XLS format.\nhttp://sourceforge.net/projects/pyexcelerator"
sys.exit(1) sys.exit(1)
if conf.confd['pil']:
try:
import Image, ImageEnhance
except:
print "You'll need Python Imaging Library (PIL), if you want to make thumbnails"
sys.exit(1)
# project modules # project modules
from mainWindow import PyGTKtalog from mainwin import PyGTKtalog
if __name__ == "__main__": if __name__ == "__main__":
app=PyGTKtalog() app=PyGTKtalog()