Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
fix ModuleNotFoundError: No module named 'utils'
  • Loading branch information
Maolaohei authored and lss233 committed Jul 23, 2023
1 parent 413aca5 commit 22004d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import os
import sys
import creart
sys.path.append(os.getcwd())
from asyncio import AbstractEventLoop
import asyncio
from utils.exithooks import hook
from loguru import logger
from constants import config, botManager
from utils.edge_tts import load_edge_tts_voices

sys.path.append(os.getcwd())

loop = creart.create(AbstractEventLoop)

loop.run_until_complete(botManager.login())
Expand Down

0 comments on commit 22004d7

Please sign in to comment.