When importing a presentation containing a non-ASCII character, an exception is no longer thrown preventing the file from being loaded.

bzr-revno: 2126
Fixes: https://launchpad.net/bugs/1093184
This commit is contained in:
Samuel Mehrbrodt 2013-01-05 11:31:02 +00:00 committed by Jonathan Corwin
commit 36fb2ddc42

View File

@ -341,6 +341,7 @@ class MediaManagerItem(QtGui.QWidget):
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')