zs

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

commit dfe52be165706983713f2b886988bfdc628f769a
parent aa60d29283b1ec34654250040a372e3a17c7b0d1
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 12 May 2019 09:44:56 +0200

Set default at the same 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 @@ -116,6 +116,7 @@ class feeddb(object): def writefeed(self, uri, feed): self.feeds[uri] = feed + self.default = False def sethook(self, uri, hookfile): feed = self.readfeed(uri) 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: