Skip to content

Commit

Permalink
fix: one more condition
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 committed Dec 5, 2024
1 parent 7c78c1c commit 515772d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def ingest(self): # pylint: disable=too-many-statements
)
is_future_variant = row.get('is_future_variant') == 'True'

if not is_course_already_ingested or course:
if course:
try:
logger.info("Course {} is located in the database.".format(course_key)) # lint-amnesty, pylint: disable=logging-format-interpolation
course_run, is_course_run_created = self._get_or_create_course_run(
Expand Down

0 comments on commit 515772d

Please sign in to comment.