From aeb7d2ff7d26d2c051e41774444c21467dbb4f3a Mon Sep 17 00:00:00 2001 From: siengrain Date: Thu, 24 Feb 2022 14:02:37 +0000 Subject: [PATCH] fixed broken spaces --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 096cf59..1c34489 100755 --- a/main.py +++ b/main.py @@ -23,7 +23,11 @@ while True: fin = letras.parsero(un_lyr) letra = fin.split('©', 1) fin_lyr = letra[0] - print(fin_lyr) + l = fin_lyr.split('\n') + for x in l: + if x[0] == ' ': + x = x.replace(' ', '\n', 1) + print(x) while True: print('<------------------------------------------------------------->') res = input("What's the move? (s to search for another song/q to quit): ")