def get_rate(): settings = read_settings.load_settings() return settings.get(rate_setting(), 1000)
def set_enabled(state): settings = read_settings.load_settings() settings.set(highlight_setting(), state) write.save_settings()
def is_enabled(): settings = read_settings.load_settings() return settings.get(highlight_setting(), False)