Fix switching PMS not recognizing when old PMS is selected

This commit is contained in:
croneter 2018-12-10 19:19:46 +01:00
parent e0fbccabc8
commit d2e0479225

View file

@ -181,7 +181,7 @@ class Service():
LOG.info('We did not connect to a new PMS, aborting')
return False
LOG.info("User chose server %s", server['name'])
if server['baseURL'] == app.CONN.server:
if server['machineIdentifier'] == app.CONN.machine_identifier:
LOG.info('User chose old PMS to connect to')
return False
# Save changes to to file