actually fixed .arl bug with newlines

This commit is contained in:
uh_wot 2020-05-07 16:57:23 +02:00
parent 231fcc4643
commit 97b2aac642
1 changed files with 1 additions and 1 deletions

View File

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