Fix empty .syncplay playerpath bug

This commit is contained in:
Etoh 2013-05-26 17:05:40 +02:00
parent d40576d0fe
commit e0bbfd2fd8

View File

@ -55,7 +55,7 @@ class GuiConfiguration:
def _tryToFillPlayerPath(self, playerpath):
if os.path.isfile(playerpath):
if playerpath != None and os.path.isfile(playerpath):
return playerpath
for path in self._availablePlayerPaths: