def serialize(self, value, display=False):
        if value is None:
            return b''
        return bytes(value)
Convert value back to string for saving.
dataset/ETHPy150Open mopidy/mopidy/mopidy/config/types.py/ConfigValue.serialize