fix dependency check
This commit is contained in:
+2
-1
@@ -227,13 +227,14 @@ def script_load(settings):
|
|||||||
global obs_settings
|
global obs_settings
|
||||||
global save
|
global save
|
||||||
|
|
||||||
|
sys.path.append(script_path())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import twitchio, swisseph
|
import twitchio, swisseph
|
||||||
except:
|
except:
|
||||||
import pip
|
import pip
|
||||||
pip.main(['install','-qqq','pyswisseph','twitchio','twitchio[starlette]','--target',script_path()])
|
pip.main(['install','-qqq','pyswisseph','twitchio','twitchio[starlette]','--target',script_path()])
|
||||||
|
|
||||||
sys.path.append(script_path())
|
|
||||||
download_files()
|
download_files()
|
||||||
|
|
||||||
obs_settings=settings
|
obs_settings=settings
|
||||||
|
|||||||
Reference in New Issue
Block a user