openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #18597
[Merge] lp:~sam92/openlp/fix-import-non-ascii-path into lp:openlp/2.0
Samuel Mehrbrodt has proposed merging lp:~sam92/openlp/fix-import-non-ascii-path into lp:openlp/2.0.
Requested reviews:
Andreas Preikschat (googol)
Tim Bentley (trb143)
Related bugs:
Bug #1093184 in OpenLP: "UnicodeError, when importing presentation files with non-ASCII in file name"
https://bugs.launchpad.net/openlp/+bug/1093184
For more details, see:
https://code.launchpad.net/~sam92/openlp/fix-import-non-ascii-path/+merge/141892
Changed according to the comments
--
https://code.launchpad.net/~sam92/openlp/fix-import-non-ascii-path/+merge/141892
Your team OpenLP Core is subscribed to branch lp:openlp/2.0.
=== modified file 'openlp/core/lib/mediamanageritem.py'
--- openlp/core/lib/mediamanageritem.py 2012-12-30 19:41:24 +0000
+++ openlp/core/lib/mediamanageritem.py 2013-01-04 11:07:24 +0000
@@ -341,6 +341,7 @@
self, self.onNewPrompt,
SettingsManager.get_last_dir(self.settingsSection),
self.onNewFileMasks)
+ files = map(unicode, files)
log.info(u'New files(s) %s', unicode(files))
if files:
Receiver.send_message(u'cursor_busy')
Follow ups