diff --git a/app/app.py b/app/app.py index 04e6689..0735a52 100644 --- a/app/app.py +++ b/app/app.py @@ -4,19 +4,18 @@ from flask import Flask from flask_cors import CORS from flask_restx import Api, Resource -from app.functions.build_character_sheet import build_character_sheet -from app.functions.roll_ability_scores import roll_ability_scores -from app.functions.roll_ability_check import roll_ability_check -from app.functions.roll_dices import roll_dices -from app.functions.roll_encounter import roll_encounter -from app.functions.roll_mental_attack import roll_mental_attack -from app.functions.roll_mutations import roll_mutations -from app.models.models import dice_model, ability_model, hp_model, character_model, encounter_model, ma_model, \ +from .functions.build_character_sheet import build_character_sheet +from .functions.roll_ability_scores import roll_ability_scores +from .functions.roll_ability_check import roll_ability_check +from .functions.roll_dices import roll_dices +from .functions.roll_encounter import roll_encounter +from .functions.roll_mental_attack import roll_mental_attack +from .functions.roll_mutations import roll_mutations +from .models.models import dice_model, ability_model, hp_model, character_model, encounter_model, ma_model, \ mutation_model, \ check_model -from app.schemas.schemas import DiceSchema, CharacterSchema, EncounterSchema, MentalAttackSchema, AbilitySchema, \ - HPSchema, \ - MutationSchema, CheckSchema +from .schemas.schemas import DiceSchema, CharacterSchema, EncounterSchema, MentalAttackSchema, AbilitySchema, \ + HPSchema, MutationSchema, CheckSchema app = Flask(__name__) CORS(app)