Use relative imports
This commit is contained in:
parent
bbe3de32a4
commit
7e62a7af3f
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue