diff --git a/bot/giveaway/track.py b/bot/giveaway/track.py index 4213c7b..7f9e0bf 100644 --- a/bot/giveaway/track.py +++ b/bot/giveaway/track.py @@ -93,11 +93,3 @@ async def main(): finally: logger.info("Shutting down Kafka producer...") await producer.stop() - - -# Run the script -if __name__ == "__main__": - try: - asyncio.run(main()) - except Exception as e: - logger.critical(f"Critical error while running the tracker: {e}")