From 0e5128e07887d2c17048171eef4c97feca517d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Lalinsk=C3=BD?= Date: Sat, 4 Aug 2007 19:42:21 +0200 Subject: [PATCH] Don't try to decode path that is already an unicode string. --- picard/ui/options/naming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picard/ui/options/naming.py b/picard/ui/options/naming.py index 590b38d5f..1dcae5c25 100644 --- a/picard/ui/options/naming.py +++ b/picard/ui/options/naming.py @@ -114,7 +114,7 @@ class NamingOptionsPage(OptionsPage): def move_files_to_browse(self): path = QtGui.QFileDialog.getExistingDirectory(self, "", self.ui.move_files_to.text()) if path: - path = decode_filename(os.path.normpath(str(path))) + path = os.path.normpath(unicode(path)) self.ui.move_files_to.setText(path) def update_move_additional_files(self):