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):
def _get_setting(self,name, val):
if self.pronterface:
try:
return getattr(self.pronterface.settings,name)
return getattr(self.pronterface.settings, name)
except AttributeError, x:
print x
return val
else:
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