Skip to content

Commit

Permalink
Merge pull request #4 from Voyz/fix/importlib-util
Browse files Browse the repository at this point in the history
Added .util to 'import importlib' fixing #1
  • Loading branch information
Voyz authored Aug 21, 2020
2 parents 06da1f8 + 8db1cc8 commit 9e1ef3d
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 9e1ef3d

Please sign in to comment.