Commit c633d029 authored by Matias Guijarro's avatar Matias Guijarro

config/settings.py: bug fix: HashSetting .get() needs to use read conversion

parent df2957a1
......@@ -465,8 +465,8 @@ class HashSetting(object):
def get(self, key, default=None):
v = self.raw_get(key)
if v is None:
if self._write_type_conversion:
v = self._write_type_conversion(default)
if self._read_type_conversion:
v = self._read_type_conversion(default)
else:
v = default
return v
......
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