This commit is contained in:
flaskfarm
2022-10-28 06:09:16 +09:00
parent dbe4d852b2
commit 6e7b7709b3
7 changed files with 192 additions and 58 deletions

View File

@@ -2,11 +2,16 @@ import os
from support import SupportSC
if os.path.exists(os.path.join(os.path.dirname(__file__), 'tving.py')):
from .seezn import SupportSeezn
from .tving import SupportTving
from .wavve import SupportWavve
else:
SupportTving = SupportSC.load_module_f(__file__, 'tving').SupportTving
SupportWavve = SupportSC.load_module_f(__file__, 'wavve').SupportWavve
SupportSeezn = SupportSC.load_module_f(__file__, 'seezn').SupportSeezn
try:
if os.path.exists(os.path.join(os.path.dirname(__file__), 'tving.py')):
from .kakaotv import SupportKakaotv
from .seezn import SupportSeezn
from .tving import SupportTving
from .wavve import SupportWavve
else:
SupportTving = SupportSC.load_module_f(__file__, 'tving').SupportTving
SupportWavve = SupportSC.load_module_f(__file__, 'wavve').SupportWavve
SupportSeezn = SupportSC.load_module_f(__file__, 'seezn').SupportSeezn
SupportKakaotv = SupportSC.load_module_f(__file__, 'kakaotv').SupportKakaotv
except:
pass