mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-29 10:56:06 +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')
|
||||
if serverwide_arl and path.isfile(arl_file_path):
|
||||
with open(arl_file_path, 'r') as file:
|
||||
arl = file.read()
|
||||
arl = file.readline()
|
||||
login(arl)
|
||||
|
||||
queue, queueComplete, queueList, currentItem = app.getQueue_link()
|
||||
|
|
Loading…
Reference in a new issue