Skip to content

Commit

Permalink
fix: overwrite handling for teams cmd args
Browse files Browse the repository at this point in the history
  • Loading branch information
ejseqera committed Mar 18, 2024
1 parent 72e2838 commit 1c7d872
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion seqerakit/overwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ def _get_json_data(self, block, args, keys_to_get):
# Check if block data already exists
if block in self.block_jsondata:
self.cached_jsondata = self.block_jsondata[block]
sp_args = self._get_values_from_cmd_args(args, keys_to_get)
if block == "teams":
sp_args = self._get_values_from_cmd_args(args[0], keys_to_get)
else:
sp_args = self._get_values_from_cmd_args(args, keys_to_get)
else:
# Fetch the data if it does not exist
if block == "teams":
Expand Down

0 comments on commit 1c7d872

Please sign in to comment.