mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-07-26 13:10:53 -05:00
[F] Fix: Only show pride month animation in tty mode
This commit is contained in:
parent
5f066e4ebf
commit
df11c756dd
|
|
@ -376,7 +376,7 @@ def run():
|
|||
|
||||
# Check if it's June (pride month)
|
||||
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
|
||||
|
||||
if args.june:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user