Fix the background image loading exception

This commit is contained in:
Gerben Welter 2021-05-15 22:22:22 +02:00
parent fec99bc234
commit 1bc6b679c7
1 changed files with 1 additions and 1 deletions

View File

@ -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)