Commit 0f110339 authored by Roman Alifanov's avatar Roman Alifanov

small fix

parent e41d9d4b
......@@ -19,7 +19,11 @@ class CustomSetting:
self.type = setting_data['type']
self.default = setting_data.get('default', '')
self.help = self._(setting_data.get('help', ''))
self.help = setting_data.get('help', None)
if self.help is not None:
self.help = self._(self.help)
self._current_value = None
self.get_command = setting_data.get('get_command')
......
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