Skip to content

Commit 9f01295

Browse files
committed
squish for coverage
1 parent e76dd36 commit 9f01295

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

django_routines/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ def command(
237237
:return: The new command.
238238
"""
239239
settings = sys._getframe(1).f_globals # noqa: WPS437
240-
if not settings.get(ROUTINE_SETTING, {}):
241-
settings[ROUTINE_SETTING] = {}
240+
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {})
242241
routine_dict = settings[ROUTINE_SETTING]
243242
routine_obj = (
244243
Routine.from_dict(routine_dict[routine])

0 commit comments

Comments
 (0)