fixed extra space w/ blank module bug
This commit is contained in:
parent
ef21228dcf
commit
668c8ce66e
1 changed files with 7 additions and 4 deletions
9
main.py
9
main.py
|
@ -14,11 +14,14 @@ def print_bar():
|
|||
print("%{c}", end="")
|
||||
case "right":
|
||||
print("%{r}", end="")
|
||||
group = running_modules_dict[alignment]
|
||||
group = list(running_modules_dict[alignment].items())
|
||||
for index, module in enumerate(group):
|
||||
print(group[module], end="")
|
||||
if index != (len(group) - 1) and len(group[module]) > 0:
|
||||
print(module[1], end="")
|
||||
if index != (len(group) - 1) and len(module[1]) > 0:
|
||||
for i in range(index + 1, len(group) - 1):
|
||||
if len(group[i][1]) > 0:
|
||||
print(seperator, end="")
|
||||
break;
|
||||
|
||||
print(flush=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue