trying relative pathing
This commit is contained in:
parent
4d92acf3ee
commit
4866634005
21
app/app.py
21
app/app.py
@ -4,19 +4,18 @@ from flask import Flask
|
|||||||
from flask_cors import CORS
|
from flask_cors import CORS
|
||||||
from flask_restx import Api, Resource
|
from flask_restx import Api, Resource
|
||||||
|
|
||||||
from app.functions.build_character_sheet import build_character_sheet
|
from .functions.build_character_sheet import build_character_sheet
|
||||||
from app.functions.roll_ability_scores import roll_ability_scores
|
from .functions.roll_ability_scores import roll_ability_scores
|
||||||
from app.functions.roll_ability_check import roll_ability_check
|
from .functions.roll_ability_check import roll_ability_check
|
||||||
from app.functions.roll_dices import roll_dices
|
from .functions.roll_dices import roll_dices
|
||||||
from app.functions.roll_encounter import roll_encounter
|
from .functions.roll_encounter import roll_encounter
|
||||||
from app.functions.roll_mental_attack import roll_mental_attack
|
from .functions.roll_mental_attack import roll_mental_attack
|
||||||
from app.functions.roll_mutations import roll_mutations
|
from .functions.roll_mutations import roll_mutations
|
||||||
from app.models.models import dice_model, ability_model, hp_model, character_model, encounter_model, ma_model, \
|
from .models.models import dice_model, ability_model, hp_model, character_model, encounter_model, ma_model, \
|
||||||
mutation_model, \
|
mutation_model, \
|
||||||
check_model
|
check_model
|
||||||
from app.schemas.schemas import DiceSchema, CharacterSchema, EncounterSchema, MentalAttackSchema, AbilitySchema, \
|
from .schemas.schemas import DiceSchema, CharacterSchema, EncounterSchema, MentalAttackSchema, AbilitySchema, \
|
||||||
HPSchema, \
|
HPSchema, MutationSchema, CheckSchema
|
||||||
MutationSchema, CheckSchema
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
CORS(app)
|
CORS(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user