Skip to content

Commit

Permalink
chore: optional gui import
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Nov 25, 2018
1 parent dc70f57 commit 61134b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion application/__init__.py
@@ -1,2 +1,6 @@
import logging
from application import views
from application import gui
try:
from application import gui
except ImportError:
logging.warning("The `gui` module is not available.")

0 comments on commit 61134b9

Please sign in to comment.