Commit c633d029 authored by Matias Guijarro's avatar Matias Guijarro

config/ 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)
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