Fix additional users

This commit is contained in:
angelblue05 2016-10-23 01:36:06 -05:00
parent 0e75bf3633
commit 51d17c1d7c

View file

@ -166,11 +166,13 @@ class Service(object):
username = self.userclient_thread.get_username() username = self.userclient_thread.get_username()
if settings('connectMsg') == "true" and username: if settings('connectMsg') == "true" and username:
# Get additional users # Get additional users
add_users = ","+", ".join(settings('additionalUsers').split(',')) add_users = settings('additionalUsers')
if add_users:
add_users = ", "+", ".join(add_users.split(','))
dialog(type_="notification", dialog(type_="notification",
heading="{emby}", heading="{emby}",
message=("%s %s %s" message=("%s %s%s"
% (lang(33000), username.decode('utf-8'), % (lang(33000), username.decode('utf-8'),
add_users.decode('utf-8'))), add_users.decode('utf-8'))),
icon="{emby}", icon="{emby}",