From dd23ce6adfdd0a118925502a6156e791901e9d60 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Wed, 12 Jun 2019 22:42:51 -0500 Subject: [PATCH] fixed conditional import with testing suite --- src/extractors/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extractors/__init__.py b/src/extractors/__init__.py index aa5e87b..4b7742e 100644 --- a/src/extractors/__init__.py +++ b/src/extractors/__init__.py @@ -3,5 +3,5 @@ import config from . import mailru, youtube, zaycev # conditional imports -if config.app["services"]["tidal"]["username"] != "" and config.app["services"]["tidal"]["password"] != "": +if config.app != None and config.app["services"]["tidal"]["username"] != "" and config.app["services"]["tidal"]["password"] != "": from . import tidal \ No newline at end of file