Commit 663ceec4 authored by Guillaume Seguin's avatar Guillaume Seguin

Silence "setting not found" messages

parent 73e617aa
...@@ -229,9 +229,8 @@ class SettingsFrame(wx.Frame): ...@@ -229,9 +229,8 @@ class SettingsFrame(wx.Frame):
def _get_setting(self,name, val): def _get_setting(self,name, val):
if self.pronterface: if self.pronterface:
try: try:
return getattr(self.pronterface.settings,name) return getattr(self.pronterface.settings, name)
except AttributeError, x: except AttributeError, x:
print x
return val return val
else: else:
return val return val
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment