Skip to content

Commit b26091c

Browse files
committed
Config file access changed
1 parent fc31d64 commit b26091c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/service/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ def execute_algorithm(
279279

280280
@app.get("/assess/score/{ticket_id}")
281281
def get_score(ticket_id: str):
282-
filename = app.config['DOWNLOAD_FOLDER'] + '/' +ticket_id+'.json'
283-
logger(f"Requesting score {ticket_id}")
282+
filename = settings.SCORE_DIRECTORY / f"score-{ticket_id}.jsonld"
283+
#logger(f"Requesting score {ticket_id}")
284284

285285
path = Path(filename)
286286
if not path.is_file():

0 commit comments

Comments
 (0)