Skip to content

Commit

Permalink
Update osprey_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
villanueval committed May 16, 2024
1 parent 4c83570 commit 89ef00e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web_app/osprey_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,7 @@ def api_update_project_details(project_alias=None):
res = run_query(query, {'file_id': file_id,}, cur=cur)
logger.info(res)
# Get results for file query
if res[0]['result'] == "1":
check_results = 0
else:
check_results = 1
check_results = res[0]['result']
check_info = res[0]['info']
query = (
"INSERT INTO files_checks (file_id, folder_id, file_check, check_results, check_info, updated_at) "
Expand Down

0 comments on commit 89ef00e

Please sign in to comment.