Fixed bad line cutting.
This commit is contained in:
parent
fb3c57f7cd
commit
2ea219e1b5
1 changed files with 1 additions and 1 deletions
2
adl.py
2
adl.py
|
@ -81,7 +81,7 @@ def load_list(account):
|
|||
alist = subprocess.run(["trackma", "-a", account, "list"],
|
||||
stdout=subprocess.PIPE).stdout.decode('utf-8').splitlines()
|
||||
alist.pop(0)
|
||||
alist = alist[: len(alist) - 3]
|
||||
alist = alist[: len(alist) - 2]
|
||||
alist = "\n".join(alist)
|
||||
return alist
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue