Skip to content

Commit

Permalink
fix(wip): Working on migration problems
Browse files Browse the repository at this point in the history
  • Loading branch information
monotasker committed Nov 4, 2024
1 parent bd54d19 commit c1aeed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invenio_record_importer_kcworks/services/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def handle_record_files(
first_file = first_file["key"]
except TypeError: # entries are not an iterator - why???
first_file = file_data.keys()[0]
app.logger.warning("first file: %s", first_file)
app.logger.warning("type of first file: %s", type(first_file))

uploaded_files = self._upload_draft_files(
metadata["id"],
Expand Down

0 comments on commit c1aeed6

Please sign in to comment.