4156: Database export crash because of entagled jpeg libraries

svn: r18637
This commit is contained in:
Michiel Nauta 2011-12-19 18:35:59 +00:00
parent 143b50e1df
commit 3171988dff

View File

@ -135,8 +135,15 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
if not self.person:
self.person = self.dbstate.db.find_initial_person()
try:
self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png)
except:
self.logo = None
try:
self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
except:
self.splash = None
pmgr = GuiPluginManager.get_instance()
self.__exporters = pmgr.get_export_plugins()