~kirusfg/bookshelf

87ca275f883afa0fb75af5034ae8dbf3443e4aa0 — Kirill Kirillov 1 year, 5 months ago 6f9b506
Fix the config not being initialized on fresh startup
1 files changed, 1 insertions(+), 1 deletions(-)

M app/src/app.rs
M app/src/app.rs => app/src/app.rs +1 -1
@@ 23,7 23,7 @@ impl App {
    pub(crate) fn new() -> Result<Self, Box<dyn std::error::Error>> {
        let config = Config::get_or_default()?;

        let shelf = Shelf::open(config.db())?;
        let shelf = Shelf::open(config.db()).unwrap_or_default();

        let cli_commands = get_cli_commands();