Skip to content

Commit

Permalink
fix FWAction init
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Apr 26, 2024
1 parent 2b357d5 commit 35a47ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fireworks/core/firework.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def __init__(
not only to direct children, but to all dependent FireWorks
down to the Workflow's leaves.
"""
mod_spec = mod_spec or []
additions = additions or []
detours = detours or []
mod_spec = mod_spec if mod_spec is not None else []
additions = additions if additions is not None else []
detours = detours if detours is not None else []

self.stored_data = stored_data or {}
self.exit = exit
Expand Down

0 comments on commit 35a47ca

Please sign in to comment.