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