actually fixed .arl bug with newlines
This commit is contained in:
parent
231fcc4643
commit
97b2aac642
|
@ -25,7 +25,7 @@ def login():
|
||||||
mkdir(configFolder)
|
mkdir(configFolder)
|
||||||
if path.isfile(path.join(configFolder, '.arl')):
|
if path.isfile(path.join(configFolder, '.arl')):
|
||||||
with open(path.join(configFolder, '.arl'), 'r') as f:
|
with open(path.join(configFolder, '.arl'), 'r') as f:
|
||||||
arl = f.readline()
|
arl = f.readline().rstrip("\n")
|
||||||
if not dz.login_via_arl(arl):
|
if not dz.login_via_arl(arl):
|
||||||
arl = requestValidArl()
|
arl = requestValidArl()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue