Merge pull request #436 from GerbenWelter/fix/bg_image_err
Fix the background image loading exception handling
This commit is contained in:
commit
8f52cd0b46
@ -148,7 +148,7 @@ class Terminal(Gtk.VBox):
|
||||
except Exception as e:
|
||||
self.background_image = None
|
||||
self.vte.set_clear_background(True)
|
||||
err('error loading background image: %s, %s' % (type(ex).__name__,e))
|
||||
err('error loading background image: %s, %s' % (type(e).__name__,e))
|
||||
|
||||
self.background_alpha = self.config['background_darkness']
|
||||
self.vte.set_allow_hyperlink(True)
|
||||
|
Loading…
Reference in New Issue
Block a user