From 29c97dcc55afd8792f936ce2c6a4e092ba7316e1 Mon Sep 17 00:00:00 2001 From: Karthick M Date: Mon, 5 Mar 2018 15:03:22 +0530 Subject: [PATCH] Issues with "-D" Incorrect filename was checked for existence to determine if its the first run of termfeed. Making sure the correct filename is used throughout. --- README.md | 4 ++-- termfeed/dbop.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4cc5935..39dcda9 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,8 @@ download and unpack the [zipped folder](https://github.com/iamaziz/TermFeed/arch $ pip uninstall TermFeed -I use a data file (`.termfeed.db`) as a mini-database to maintain the RSS URLs. -This file is created at the home directory (e.g. `$HOME/.termfeed.db`), delete it as well. +I use a data file (`.termfeed`) as a mini-database to maintain the RSS URLs. +This file is created at the home directory (e.g. `$HOME/.termfeed`), delete it as well. > Remember, you may need to run these commands as an admin e.g. diff --git a/termfeed/dbop.py b/termfeed/dbop.py index 6c40d4a..6726d48 100644 --- a/termfeed/dbop.py +++ b/termfeed/dbop.py @@ -14,10 +14,10 @@ def rebuild_library(): import termfeed.dbinit - print('created ".termfeed.db" in {}'.format(homedir)) + print('created ".termfeed" in {}'.format(homedir)) # instantiate db if it's not created yet -if not path.exists(homedir + '/.termfeed.db'): +if not path.exists(homedir + '/.termfeed'): rebuild_library()