From 29b5c87433df36f4dd5a8d2957e593d52a08a61a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Mar 2021 20:32:15 +0000 Subject: [PATCH] Empty timeline message --- notifications_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notifications_client.py b/notifications_client.py index 02765120a..3fe4e7420 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -353,6 +353,8 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None: continue index.append(f) break + if not index: + print('You have no ' + boxName + ' posts yet.') maxPostIndex = len(index) index.sort(reverse=True) for pos in range(startPostIndex, startPostIndex + noOfPosts):