Proper loadedRelativePaths check

This commit is contained in:
Etoh 2014-04-19 11:13:02 +01:00
parent 0b5b8811b4
commit 3945ac1ad7

View File

@ -89,7 +89,7 @@ class SyncplayClient(object):
self._speedChanged = False
self._warnings = self._WarningManager(self._player, self.userlist, self.ui)
if constants.LIST_RELATIVE_CONFIGS and self._config['loadedRelativePaths']:
if constants.LIST_RELATIVE_CONFIGS and self._config.has_key('loadedRelativePaths'):
self.ui.showMessage(getMessage("en", "relative-config-notification").format("; ".join(self._config['loadedRelativePaths'])), True)
def initProtocol(self, protocol):