Skip to content

Commit

Permalink
added .util to 'import importlib' fixing #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Voyz committed Aug 21, 2020
1 parent 06da1f8 commit 8db1cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion databay/inlets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import importlib
import importlib.util

if importlib.util.find_spec('aiohttp') is not None:
from databay.inlets.http_inlet import HttpInlet
Expand Down
2 changes: 1 addition & 1 deletion databay/outlets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import importlib
import importlib.util

if importlib.util.find_spec('pymongo') is not None:
from databay.outlets.mongo_outlet import MongoOutlet
Expand Down

0 comments on commit 8db1cc8

Please sign in to comment.