From e1a5ba1521941256509874fc0076db619be11c36 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Thu, 15 Aug 2019 11:22:43 +0200 Subject: [PATCH] No longer call notifications after login This should be up to the user. --- README.md | 5 ++++- jan-pona-mute.py | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) 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.") -- 2.25.1