trying relative pathing

This commit is contained in:
Greg Gauthier 2024-06-25 23:08:39 +01:00
parent 4d92acf3ee
commit 4866634005

View File

@ -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)