From 295b0236de85d49bdbe86fc4ffb66fb0e0422037 Mon Sep 17 00:00:00 2001 From: anjakefala Date: Wed, 4 Oct 2023 20:26:47 -0700 Subject: [PATCH] [motd] default motd is Support VisiData instead of blank --- visidata/motd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visidata/motd.py b/visidata/motd.py index bc7427f76..dc1295e60 100644 --- a/visidata/motd.py +++ b/visidata/motd.py @@ -15,7 +15,7 @@ vd.option('motd_url', 'https://visidata.org/motd-'+vd.version, 'source of randomized startup messages', sheettype=None) -vd.motd = '' +vd.motd = 'Support VisiData: https://github.com/sponsors/saulpw' @VisiData.api @asyncsingle @@ -25,6 +25,6 @@ def domotd(vd): p = vd.urlcache(options.motd_url, days=1) line = random.choice(list(p)) vd.motd = line.split('\t')[0] - vd.status(vd.motd, priority=-1) except Exception: pass + vd.status(vd.motd, priority=-1)