From: Alex Schroeder Date: Thu, 15 Aug 2019 09:22:43 +0000 (+0200) Subject: No longer call notifications after login X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e1a5ba1521941256509874fc0076db619be11c36;p=jan-pona-mute.git No longer call notifications after login This should be up to the user. --- diff --git a/README.md b/README.md index 794f70e..7e8c5bd 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Username and pod set: kensanata@pluspora.com > password *secret* Password set > login +> notifications 1. 2019-08-13T19:40:17.000Z Joe Doe has liked your post I've started writing... 2. 2019-08-13T17:59:23.000Z Joe Doe commented on your post Please help me wi... 3. 2019-08-13T17:03:45.000Z Jane Doe has liked your post I've started writin... @@ -82,7 +83,9 @@ written. If none exists, the first one is going to be created by the `save` command. Any further commands you put into the file are simple executed as if -you were to type them every time you start the program. +you were to type them every time you start the program. A simple +change would be to add `notifications` as a command to the end of the +file. Notes ----- diff --git a/jan-pona-mute.py b/jan-pona-mute.py index ace17f0..cd13aa5 100755 --- a/jan-pona-mute.py +++ b/jan-pona-mute.py @@ -236,7 +236,6 @@ enter a number to select the corresponding item. pod = "https://%s" % self.pod, username = self.username, password = self.password) try: self.connection.login() - self.onecmd("notifications") except diaspy.errors.LoginError: print("Login failed.")