removed src folder, refactored
This commit is contained in:
parent
5bba8e6947
commit
08d14b61d1
@ -1,5 +1,5 @@
|
||||
from flask import jsonify, Blueprint
|
||||
from ..util.utils import breeding_pair_data
|
||||
from utils.utils import breeding_pair_data
|
||||
|
||||
get_breeding_pairs_bp = Blueprint('breeding_pairs',__name__)
|
||||
|
@ -1,5 +1,5 @@
|
||||
from flask import jsonify, Blueprint
|
||||
from ..util.utils import breeding_pair_data
|
||||
from utils.utils import breeding_pair_data
|
||||
|
||||
get_breeding_usage_bp = Blueprint('breeding_usage',__name__)
|
||||
|
19
app.py
19
app.py
@ -1,17 +1,14 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
from src.util.utils import *
|
||||
from api.get_monsters import *
|
||||
from api.get_families import *
|
||||
from api.get_monster_stats import *
|
||||
from api.get_breeding_pairs import *
|
||||
from api.get_breeding_usage import *
|
||||
from api.get_skills_data import *
|
||||
|
||||
from src.api.get_monsters import *
|
||||
from src.api.get_families import *
|
||||
from src.api.get_monster_stats import *
|
||||
from src.api.get_breeding_pairs import *
|
||||
from src.api.get_breeding_usage import *
|
||||
from src.api.get_skills_data import *
|
||||
|
||||
from src.util.serve_media import *
|
||||
|
||||
#from src.views.skills import *
|
||||
from utils.utils import *
|
||||
from utils.serve_media import *
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user