~zethra/sasha-fetch

ba5b1fb0dbab3f5120cb9f4e180f7c136fd7a516 — Sashanoraa 6 months ago d1e61ef
Add extra space before output

Signed-off-by: Sashanoraa <ben@benaaron.dev>
1 files changed, 3 insertions(+), 3 deletions(-)

M sasha-fetch.py
M sasha-fetch.py => sasha-fetch.py +3 -3
@@ 104,12 104,12 @@ def generate(args):
        for (i, m) in zip(img, message):
            if ':' in m:
                parts = m.split(':')
                output.write(f'{i} {titles.apply_color(parts[0])}: {data.apply_color(":".join(parts[1:]))}\n')
                output.write(f' {i} {titles.apply_color(parts[0])}: {data.apply_color(":".join(parts[1:]))}\n')
            else:
                output.write(f'{i} {titles.apply_color(m)}\n')
                output.write(f' {i} {titles.apply_color(m)}\n')

        for i in img[len(message):]:
            output.write(i + '\n')
            output.write(f' {i}\n')

def main():
    parser = argparse.ArgumentParser(description="Generate cool neofetch like card")