示例#1
0
def get_rate():
    settings = read_settings.load_settings()
    return settings.get(rate_setting(), 1000)
示例#2
0
def set_enabled(state):
    settings = read_settings.load_settings()
    settings.set(highlight_setting(), state)
    write.save_settings()
示例#3
0
def is_enabled():
    settings = read_settings.load_settings()
    return settings.get(highlight_setting(), False)