Skip to content

Commit

Permalink
Handle none gracefully (fix #567)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
  • Loading branch information
gsemet committed Jun 15, 2015
1 parent 7cbedf8 commit 27bc9ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/guake/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def configure_terminal(self):
"""
client = gconf.client_get_default()
word_chars = client.get_string(KEY('/general/word_chars'))
self.set_word_chars(word_chars)
if word_chars:
self.set_word_chars(word_chars)
self.set_audible_bell(client.get_bool(KEY('/general/use_audible_bell')))
self.set_visible_bell(client.get_bool(KEY('/general/use_visible_bell')))
self.set_sensitive(True)
Expand Down

0 comments on commit 27bc9ab

Please sign in to comment.