Skip to content

Commit

Permalink
Merge 115adec into 7f1dc2b
Browse files Browse the repository at this point in the history
  • Loading branch information
darrensmith223 committed Apr 28, 2021
2 parents 7f1dc2b + 115adec commit 4186087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparkpost/transmissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _translate_keys(self, **kwargs):
if from_key in model:
to_model = model
to_key = model_remap[from_key]
if to_key.index('/'):
if '/' in to_key:
# Nested within a dict
into_list = to_key.split('/')
to_key = into_list[-1]
Expand Down

0 comments on commit 4186087

Please sign in to comment.