Skip to content

Commit

Permalink
update warning results
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhle79 committed Feb 17, 2025
1 parent 36cceef commit d178feb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions home/import_content_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ def add_media_link(self, rows: list["ContentRow"]):
if row.media_link:
if row.media_link is not None or row.media_link != "":
self.import_warnings.append(ImportWarning(f"Media link: {row.media_link}" , row_num))

# return self.import_warnings
return self.import_warnings

def process_rows(self, rows: list["ContentRow"]) -> None:
# Non-page rows don't have a locale, so we need to remember the last
Expand Down

0 comments on commit d178feb

Please sign in to comment.