Skip to content

Commit

Permalink
squish for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jun 5, 2024
1 parent 9f01295 commit 1520fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_routines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def command(
:return: The new command.
"""
settings = sys._getframe(1).f_globals # noqa: WPS437
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {})
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {}) or {}
routine_dict = settings[ROUTINE_SETTING]
routine_obj = (
Routine.from_dict(routine_dict[routine])
Expand Down

0 comments on commit 1520fe2

Please sign in to comment.