Fixed bad line cutting.
This commit is contained in:
parent
fb3c57f7cd
commit
2ea219e1b5
2
adl.py
2
adl.py
@ -81,7 +81,7 @@ def load_list(account):
|
|||||||
alist = subprocess.run(["trackma", "-a", account, "list"],
|
alist = subprocess.run(["trackma", "-a", account, "list"],
|
||||||
stdout=subprocess.PIPE).stdout.decode('utf-8').splitlines()
|
stdout=subprocess.PIPE).stdout.decode('utf-8').splitlines()
|
||||||
alist.pop(0)
|
alist.pop(0)
|
||||||
alist = alist[: len(alist) - 3]
|
alist = alist[: len(alist) - 2]
|
||||||
alist = "\n".join(alist)
|
alist = "\n".join(alist)
|
||||||
return alist
|
return alist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user