zs

Zeitungsschau rss to email converter
git clone git://r-36.net/zs
Log | Files | Refs | LICENSE

commit 023b5c2610d78e91dba980f456c7a227996b13d9
parent e47a4623997bd098ca5988fdfd21b61d327860c8
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 12 May 2019 09:41:32 +0200

Unset default config at the right time.

Diffstat:
zeitungsschau/feeddb.py | 1+
zs | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/zeitungsschau/feeddb.py b/zeitungsschau/feeddb.py @@ -185,6 +185,7 @@ class feeddb(object): feed["pause"] = False feed["articles"] = [] self.writefeed(uri, feed) + self.default = False def delfeed(self, uri): if uri in self.listfeeds(): diff --git a/zs b/zs @@ -204,6 +204,7 @@ def main(args): else: db.cfg[largs[1]] = largs[2] print("%s = '%s'" % (largs[1], db.cfg[largs[1]])) + db.default = False elif largs[0] == "cfgdel": if len(largs) < 2: