From 6889ddd97cebe4aafabab4d5f258a3a3becc3370 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 18 Apr 2021 22:44:41 +0200 Subject: [PATCH] Feat: relative import to absolute --- recopytex/dashboard/pages/home/app.py | 2 +- recopytex/dashboard/pages/home/callbacks.py | 2 +- recopytex/scripts/recopytex.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recopytex/dashboard/pages/home/app.py b/recopytex/dashboard/pages/home/app.py index e63e73c..b16ff74 100644 --- a/recopytex/dashboard/pages/home/app.py +++ b/recopytex/dashboard/pages/home/app.py @@ -2,7 +2,7 @@ # encoding: utf-8 import dash_html_components as html -from ....database.filesystem.loader import CSVLoader +from recopytex.database.filesystem.loader import CSVLoader from .models import get_tribes, get_exams, get_students loader = CSVLoader("./test_config.yml") diff --git a/recopytex/dashboard/pages/home/callbacks.py b/recopytex/dashboard/pages/home/callbacks.py index d2f277d..3f59def 100644 --- a/recopytex/dashboard/pages/home/callbacks.py +++ b/recopytex/dashboard/pages/home/callbacks.py @@ -2,5 +2,5 @@ # encoding: utf-8 from dash.dependencies import Input, Output -from ...app import app +from recopytex.dashboard.app import app diff --git a/recopytex/scripts/recopytex.py b/recopytex/scripts/recopytex.py index 9b8c5f0..b706bff 100644 --- a/recopytex/scripts/recopytex.py +++ b/recopytex/scripts/recopytex.py @@ -2,7 +2,7 @@ # encoding: utf-8 import click -from ..dashboard.app import app as dash +from recopytex.dashboard.app import app as dash @click.group()