From 7e62a7af3fb4f20556066fc9b9ccb7620c0add91 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 16 Aug 2024 09:38:28 +0200 Subject: [PATCH] Use relative imports --- src/pvv_calendar_bot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pvv_calendar_bot/main.py b/src/pvv_calendar_bot/main.py index cfe2cad..5cb9e94 100644 --- a/src/pvv_calendar_bot/main.py +++ b/src/pvv_calendar_bot/main.py @@ -8,7 +8,7 @@ from nio import AsyncClient from textwrap import dedent from markdown2 import Markdown import asyncio -from sql_connector import fetch_events, Event +from .sql_connector import fetch_events, Event MATRIX_URL=os.environ.get("MATRIX_URL","https://matrix.pvv.ntnu.no") MATRIX_USER=os.environ.get("MATRIX_USER","@bot_calendar:pvv.ntnu.no")