[2026-05-27] 포맷 후 복구 설치 스크립트 추가
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import sys, asyncio
|
||||
sys.path.insert(0, '.')
|
||||
from app.main import load_env, StockBot
|
||||
load_env()
|
||||
|
||||
async def test():
|
||||
bot = StockBot()
|
||||
print("StockBot 생성 완료")
|
||||
await bot.initialize()
|
||||
print("initialize() 완료")
|
||||
print("5초 슬립...")
|
||||
await asyncio.sleep(5)
|
||||
print("5초 완료 - 정상 실행 중")
|
||||
|
||||
asyncio.run(test())
|
||||
Reference in New Issue
Block a user