Skip to content

Commit 1520fe2

Browse files
committed
squish for coverage
1 parent 9f01295 commit 1520fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_routines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def command(
237237
:return: The new command.
238238
"""
239239
settings = sys._getframe(1).f_globals # noqa: WPS437
240-
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {})
240+
settings[ROUTINE_SETTING] = settings.get(ROUTINE_SETTING, {}) or {}
241241
routine_dict = settings[ROUTINE_SETTING]
242242
routine_obj = (
243243
Routine.from_dict(routine_dict[routine])

0 commit comments

Comments
 (0)