From 0e95ffe55fa7af2b535faa56f9edbac5ebce09ba Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Mon, 5 Mar 2012 22:22:36 +0000 Subject: [PATCH] remove .encode hopefully to fix http://support.openlp.org/issues/442 --- openlp/core/ui/thememanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 3585e5c97..dd116eee0 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -159,7 +159,7 @@ class ThemeManager(QtGui.QWidget): encoding = get_filesystem_encoding() files = SettingsManager.get_files(self.settingsSection, u'.otz') for file in files: - file = os.path.join(self.path, file).encode(encoding) + file = os.path.join(self.path, file) self.unzipTheme(file, self.path) delete_file(file) Receiver.send_message(u'cursor_normal')