forked from openlp/openlp
Fix presentation file type error when importing
bzr-revno: 1507
This commit is contained in:
commit
14c4034294
@ -293,7 +293,7 @@ class PresentationMediaItem(MediaManagerItem):
|
||||
"supports" the extension. If none found, then look for a controller
|
||||
which "also supports" it instead.
|
||||
"""
|
||||
filetype = os.path.splitext(filename)[1]
|
||||
filetype = os.path.splitext(filename)[1][1:]
|
||||
if not filetype:
|
||||
return None
|
||||
for controller in self.controllers:
|
||||
|
Loading…
Reference in New Issue
Block a user