diff --git a/bumblebee/popup.py b/bumblebee/popup.py index 1142664..5c1c405 100644 --- a/bumblebee/popup.py +++ b/bumblebee/popup.py @@ -1,5 +1,7 @@ """Pop-up menus.""" +import logging + try: import Tkinter as tk except ImportError: @@ -7,9 +9,7 @@ except ImportError: try: import tkinter as tk except ImportError: - pass - -import logging + logging.warning("failed to import tkinter - bumblebee popups won't work!") class PopupMenu: """The popup-menu."""