Skip to content

Commit

Permalink
Update project_functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
strTATQwQ authored Jun 7, 2024
1 parent c4b5e0a commit a8e28fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2649,8 +2649,8 @@ def insert_missing_file_data_in_db(file_id, url, metadata):
error_occured = True

#check if metadata added
if db_entry[2] is None or db_entry[1] is None or db_entry[1].strip() == "": # Check 1 and 2 logger.debug("Tags not added - Add to db entry")

if db_entry[2] is None or db_entry[1] is None or db_entry[1].strip() == "": # Check 1 and 2
logger.debug("Tags not added - Add to db entry")
added_tags = update_value("items", {"data": metadata},
{"id": file_id})
if not added_tags:
Expand Down

0 comments on commit a8e28fe

Please sign in to comment.