Skip to content

Commit

Permalink
Don't use uninstalled poetry script to start up the app
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Jun 18, 2024
1 parent 00fb2a0 commit 1f48801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ fi

shopt -s nocasematch
if [ "${USE_METRICITY:-true}" = "true" ]; then
poetry run start
poetry run python -m metricity
fi
4 changes: 1 addition & 3 deletions metricity/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,4 @@ async def main() -> None:
await _bot.start(BotConfig.token)


def start() -> None:
"""Start the Metricity application."""
asyncio.run(main())
asyncio.run(main())

0 comments on commit 1f48801

Please sign in to comment.