From 079f61eb6f825264c606d21cfc9c768a299c9164 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sat, 8 Jun 2013 20:39:01 +0200 Subject: [PATCH] Convert executablepath to unicode in GuiConfig --- syncplay/ui/GuiConfiguration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py index 1722a74..5166db5 100644 --- a/syncplay/ui/GuiConfiguration.py +++ b/syncplay/ui/GuiConfiguration.py @@ -126,7 +126,7 @@ class ConfigDialog(QtGui.QDialog): self.config['name'] = self.usernameTextbox.text() self.config['room'] = self.defaultroomTextbox.text() self.config['password'] = self.serverpassTextbox.text() - self.config['playerPath'] = self.executablepathCombobox.currentText() + self.config['playerPath'] = unicode(self.executablepathCombobox.currentText()) self.config['file'] = os.path.abspath(self.mediapathTextbox.text()) if self.mediapathTextbox.text() != "" else None if self.alwaysshowCheckbox.isChecked() == True: self.config['forceGuiPrompt'] = True