fixed conditional import with testing suite
This commit is contained in:
parent
99d02c97f0
commit
dd23ce6adf
@ -3,5 +3,5 @@
|
|||||||
import config
|
import config
|
||||||
from . import mailru, youtube, zaycev
|
from . import mailru, youtube, zaycev
|
||||||
# conditional imports
|
# 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
|
from . import tidal
|
Loading…
Reference in New Issue
Block a user