From 97b2aac642649b4d7d1203c203fcac118d0cdd86 Mon Sep 17 00:00:00 2001 From: uh_wot <3631986-uh_wot@users.noreply.gitlab.com> Date: Thu, 7 May 2020 16:57:23 +0200 Subject: [PATCH] actually fixed .arl bug with newlines --- deemix/app/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/cli.py b/deemix/app/cli.py index 0345d95..fdf34b5 100644 --- a/deemix/app/cli.py +++ b/deemix/app/cli.py @@ -25,7 +25,7 @@ def login(): mkdir(configFolder) if path.isfile(path.join(configFolder, '.arl')): with open(path.join(configFolder, '.arl'), 'r') as f: - arl = f.readline() + arl = f.readline().rstrip("\n") if not dz.login_via_arl(arl): arl = requestValidArl() else: