fix bugs.

This commit is contained in:
aazhou 2023-06-25 11:28:19 +08:00
parent c50f10db53
commit 3ea7247f53

View File

@ -1,6 +1,6 @@
import schedule
import bn
import settings
import setting
import time
import signals.ma_arrangement as maa
import monitors.large_transfer as lt
@ -18,9 +18,9 @@ for s in symbols:
schedule.every(4).hours.do(maa.run, symbol=s, interval='4h')
# 监控
schedule.every(settings.whaleAlert_minutes).minutes.do(lt.run)
schedule.every(setting.whaleAlert_minutes).minutes.do(lt.run)
print(f'Running... ChatID: {settings.chat_id}')
print(f'Running... ChatID: {setting.chat_id}')
while True:
schedule.run_pending()
time.sleep(1)