From 4e11b8161d7ef897b0201c3542383520a6c61c73 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Mar 2021 13:53:54 +0000 Subject: [PATCH] Local indent variable --- notifications_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index 10dc34925..54b346584 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -35,8 +35,6 @@ from pgp import pgpDecrypt from pgp import hasLocalPGPkey from pgp import pgpEncryptToActor -indent = ' ' - def _clearScreen() -> None: os.system('cls' if os.name == 'nt' else 'clear') @@ -358,6 +356,7 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None: """Shows locally stored posts for a given subdirectory """ + indent = ' ' homeDir = str(Path.home()) if not os.path.isdir(homeDir + '/.config'): os.mkdir(homeDir + '/.config') @@ -620,6 +619,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, """Runs the notifications and screen reader client, which announces new inbox items """ + indent = ' ' if showNewPosts: indent = ''