We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc31d64 commit b26091cCopy full SHA for b26091c
1 file changed
code/service/main.py
@@ -279,8 +279,8 @@ def execute_algorithm(
279
280
@app.get("/assess/score/{ticket_id}")
281
def get_score(ticket_id: str):
282
- filename = app.config['DOWNLOAD_FOLDER'] + '/' +ticket_id+'.json'
283
- logger(f"Requesting score {ticket_id}")
+ filename = settings.SCORE_DIRECTORY / f"score-{ticket_id}.jsonld"
+ #logger(f"Requesting score {ticket_id}")
284
285
path = Path(filename)
286
if not path.is_file():
0 commit comments