fixed bug if .arl file has newline
This commit is contained in:
parent
b16dd746a4
commit
231fcc4643
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue