_default docstring

This commit is contained in:
blacktwin 2020-06-05 14:18:35 -04:00
parent 0b31454c0f
commit 0974b1e2b1

View file

@ -169,6 +169,7 @@ class Preferences(Setting):
FILTER = 'preferences'
def _default(self):
""" Set the default value for this setting."""
key = '%s/prefs?' % self._initpath
if self.type == 'int':
url = key + '%s=%s' % (self.id, self.default)