def setdefault(self, key, value):
        if self.group in key:
            return self.group[key].get(value)
        else:
            d = { key: value }
            self.addSettings(**d)
            return self.group[key].get(value)
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/Settings.py/SettingGroup.setdefault/swapped operands of `in`