← Back to team overview

openlp-core team mailing list archive

[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:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~sam92/openlp/fix-import-non-ascii-path/+merge/140651

Here's a new try.
-- 
https://code.launchpad.net/~sam92/openlp/fix-import-non-ascii-path/+merge/140651
Your team OpenLP Core is requested to review the proposed merge of lp:~sam92/openlp/fix-import-non-ascii-path into lp:openlp/2.0.
=== modified file 'openlp/core/lib/mediamanageritem.py'
--- openlp/core/lib/mediamanageritem.py	2012-11-11 21:16:14 +0000
+++ openlp/core/lib/mediamanageritem.py	2012-12-19 12:44:19 +0000
@@ -341,6 +341,8 @@
             self, self.onNewPrompt,
             SettingsManager.get_last_dir(self.settingsSection),
             self.onNewFileMasks)
+        # Convert QStringList containing QStrings to a Python list containing unicode strings
+        files =  [unicode(f) for f in files]
         log.info(u'New files(s) %s', unicode(files))
         if files:
             Receiver.send_message(u'cursor_busy')


Follow ups