mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-16 11:35:14 +00:00
fixed bug if .arl file has newline
This commit is contained in:
parent
0b3f5f297d
commit
98f69fd9b9
|
@ -87,7 +87,7 @@ def on_connect():
|
||||||
arl_file_path = path.join(localpaths.getConfigFolder(), '.arl')
|
arl_file_path = path.join(localpaths.getConfigFolder(), '.arl')
|
||||||
if serverwide_arl and path.isfile(arl_file_path):
|
if serverwide_arl and path.isfile(arl_file_path):
|
||||||
with open(arl_file_path, 'r') as file:
|
with open(arl_file_path, 'r') as file:
|
||||||
arl = file.read()
|
arl = file.readline()
|
||||||
login(arl)
|
login(arl)
|
||||||
|
|
||||||
queue, queueComplete, queueList, currentItem = app.getQueue_link()
|
queue, queueComplete, queueList, currentItem = app.getQueue_link()
|
||||||
|
|
Loading…
Reference in a new issue