Skip to content

Commit

Permalink
fix: resolved linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid committed Dec 9, 2024
1 parent eba61e8 commit c8d7f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/notifications/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def update_notification_fields(
if field in source_config:
target_config[field] |= source_config[field]
if "email_cadence" in source_config:
if type(target_config["email_cadence"]) == str:
if isinstance(target_config["email_cadence"], str):
target_config["email_cadence"] = set()

target_config["email_cadence"].add(source_config["email_cadence"])
Expand Down

0 comments on commit c8d7f5e

Please sign in to comment.