• mathieui's avatar
    Handle I/O errors better · 91b960b7
    mathieui authored
    - Do not crash because of low disk space
    - Notify the user whenever it happens
    - A few functions now return a boolean instead of nothing
    - Config.silent_set is Config.set_and_save without toggle and returning
      strings. It is used whenever we don’t need set_and_save
    - Config.set_and_save now returns a tuple (that can be passed directly
      to core.information())
    TODO: display the precise error to the user (instead of “unable to…”)
config.py 8.53 KB