fixed bug if .arl file has newline

This commit is contained in:
uh_wot 2020-05-07 16:48:57 +02:00
parent 0b3f5f297d
commit 98f69fd9b9

View file

@ -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()