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 e76dd36 commit 9f01295
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django_routines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ def command(
:return: The new command.
"""
settings = sys._getframe(1).f_globals # noqa: WPS437
if not settings.get(ROUTINE_SETTING, {}):
settings[ROUTINE_SETTING] = {}
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {})
routine_dict = settings[ROUTINE_SETTING]
routine_obj = (
Routine.from_dict(routine_dict[routine])
Expand Down

0 comments on commit 9f01295

Please sign in to comment.