Fix presentation file type error when importing

bzr-revno: 1507
This commit is contained in:
Jonathan Corwin 2011-04-30 18:30:03 +01:00
commit 14c4034294
1 changed files with 1 additions and 1 deletions

View File

@ -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: