From 231fcc46431997b61c1ccf13bc78a88f2d8019ef Mon Sep 17 00:00:00 2001 From: uh_wot <3631986-uh_wot@users.noreply.gitlab.com> Date: Thu, 7 May 2020 16:48:57 +0200 Subject: [PATCH] fixed bug if .arl file has newline --- 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 f58ca23..0345d95 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.read() + arl = f.readline() if not dz.login_via_arl(arl): arl = requestValidArl() else: