Skip to content

Commit d743a25

Browse files
committed
It raises a keyerror if not installed.
1 parent 0c7ac1d commit d743a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kivy_garden/filebrowser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _fbrowser_submit(self, instance):
6161
try:
6262
from kivy.garden.filechooserthumbview import FileChooserThumbView as \
6363
IconView
64-
except ImportError:
64+
except (ImportError, KeyError):
6565
from kivy.uix.filechooser import FileChooserIconView as IconView
6666
from kivy.properties import (ObjectProperty, StringProperty, OptionProperty,
6767
ListProperty, BooleanProperty)

0 commit comments

Comments
 (0)