diff --git a/adl.py b/adl.py index 068a94a..94d1f0f 100755 --- a/adl.py +++ b/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