Commit 84da74a8 authored by Roman Alifanov's avatar Roman Alifanov

small fix

parent 52bd55f7
......@@ -15,6 +15,8 @@ class Setting:
self.default = setting_data.get('default')
if len(setting_data.get('gtype')) > 2:
self.gtype = setting_data.get('gtype')[0]
else:
self.gtype = setting_data.get('gtype')
self.map = setting_data.get('map', self._default_map())
self.data = setting_data.get('data', {})
......
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