diff --git a/app/__init__.py b/app/__init__.py index dee48f4c2392e2d4a64c75de931a4a04105a6d1f..611ce465509dfdab3133a48b79f194b065fb37b0 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,6 +1,6 @@ import os from flask import Flask, render_template -from app.label_system import sort +from app.labels_system.label_system import sort class CustomFlask(Flask): jinja_options = Flask.jinja_options.copy() diff --git a/app/codingPool.db b/app/instance/codingPool.db similarity index 100% rename from app/codingPool.db rename to app/instance/codingPool.db diff --git a/app/voiture.db b/app/instance/voiture.db similarity index 100% rename from app/voiture.db rename to app/instance/voiture.db diff --git a/app/getter.py b/app/labels_system/getter.py similarity index 100% rename from app/getter.py rename to app/labels_system/getter.py diff --git a/app/label_system.py b/app/labels_system/label_system.py similarity index 94% rename from app/label_system.py rename to app/labels_system/label_system.py index 5826bb113a73cfe8e82bfd444a1b0325b0e0bc2b..5af4533b12af21b5de9f95e915485bf82f434c4b 100644 --- a/app/label_system.py +++ b/app/labels_system/label_system.py @@ -1,7 +1,7 @@ from typing import Dict, List import json from flask import Blueprint -from app.getter import get_selected_elements, get_discriminating_labels, get_high_discriminating_labels +from app.labels_system.getter import get_selected_elements, get_discriminating_labels, get_high_discriminating_labels sort = Blueprint('sort', __name__)