From 1f4880144b597fef2348183b19cce1db7ba31a6e Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 18 Jun 2024 18:01:41 +0100 Subject: [PATCH] Don't use uninstalled poetry script to start up the app --- entry_point.sh | 2 +- metricity/__main__.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/entry_point.sh b/entry_point.sh index 4eb5beb..b6be637 100644 --- a/entry_point.sh +++ b/entry_point.sh @@ -10,5 +10,5 @@ fi shopt -s nocasematch if [ "${USE_METRICITY:-true}" = "true" ]; then - poetry run start + poetry run python -m metricity fi diff --git a/metricity/__main__.py b/metricity/__main__.py index caf8ef6..86aba6a 100644 --- a/metricity/__main__.py +++ b/metricity/__main__.py @@ -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())