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="")
|
print("%{c}", end="")
|
||||||
case "right":
|
case "right":
|
||||||
print("%{r}", end="")
|
print("%{r}", end="")
|
||||||
group = running_modules_dict[alignment]
|
group = list(running_modules_dict[alignment].items())
|
||||||
for index, module in enumerate(group):
|
for index, module in enumerate(group):
|
||||||
print(group[module], end="")
|
print(module[1], end="")
|
||||||
if index != (len(group) - 1) and len(group[module]) > 0:
|
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="")
|
print(seperator, end="")
|
||||||
|
break;
|
||||||
|
|
||||||
print(flush=True)
|
print(flush=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue