Use relative imports

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-16 09:38:28 +02:00
parent bbe3de32a4
commit 7e62a7af3f
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ from nio import AsyncClient
from textwrap import dedent from textwrap import dedent
from markdown2 import Markdown from markdown2 import Markdown
import asyncio 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_URL=os.environ.get("MATRIX_URL","https://matrix.pvv.ntnu.no")
MATRIX_USER=os.environ.get("MATRIX_USER","@bot_calendar:pvv.ntnu.no") MATRIX_USER=os.environ.get("MATRIX_USER","@bot_calendar:pvv.ntnu.no")