From 3b2fb773d30a601f72294beb2b7b55ab0dd37a6f Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Sun, 19 Jun 2022 18:03:19 -0400 Subject: [PATCH] [O] Optimize print flag --- hyfetch/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyfetch/main.py b/hyfetch/main.py index c7105d7d..35c53781 100755 --- a/hyfetch/main.py +++ b/hyfetch/main.py @@ -131,8 +131,8 @@ def create_config() -> Config: flags = flags[flags_per_row:] # Print by row - for line in range(len(current[0])): - printc(' '.join(flag[line] for flag in current)) + for line in zip(*current): + printc(' '.join(line)) print()