fix dependency check

This commit is contained in:
2025-07-18 01:39:05 -07:00
parent df27549942
commit f0ca3fd16c
+2 -1
View File
@@ -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