Fixed bad line cutting.

This commit is contained in:
cronyakatsuki 2022-05-02 22:51:54 +02:00
parent fb3c57f7cd
commit 2ea219e1b5

2
adl.py
View File

@ -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