[F] Fix: Only show pride month animation in tty mode

This commit is contained in:
Azalea 2023-06-02 00:49:30 -07:00
parent 5f066e4ebf
commit df11c756dd

View file

@ -376,7 +376,7 @@ def run():
# Check if it's June (pride month) # Check if it's June (pride month)
now = datetime.datetime.now() now = datetime.datetime.now()
if now.month == 6 and now.year not in config.pride_month_shown: if now.month == 6 and now.year not in config.pride_month_shown and os.isatty(sys.stdout.fileno()):
args.june = True args.june = True
if args.june: if args.june: