From 8076f90e04ee7402a03651dca18ee039f38bc68a Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 20 Apr 2014 17:08:29 +0100 Subject: [PATCH] Don't list empty loadedRelativePaths --- syncplay/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/client.py b/syncplay/client.py index 4bbd19b..3c75021 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -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):