Don't list empty loadedRelativePaths
This commit is contained in:
parent
892a504430
commit
8076f90e04
@ -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.has_key('loadedRelativePaths'):
|
||||
if constants.LIST_RELATIVE_CONFIGS and self._config.has_key('loadedRelativePaths') and self._config['loadedRelativePaths']:
|
||||
self.ui.showMessage(getMessage("en", "relative-config-notification").format("; ".join(self._config['loadedRelativePaths'])), True)
|
||||
|
||||
def initProtocol(self, protocol):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user