Skip to content

Commit

Permalink
[motd] default motd is Support VisiData instead of blank
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Oct 20, 2023
1 parent f32a043 commit 295b023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visidata/motd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

0 comments on commit 295b023

Please sign in to comment.