Skip to content

Commit

Permalink
fix extra_context forming (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed May 11, 2023
1 parent 82f2748 commit c559254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samplesheets/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def clean(self):

def save(self):
extra_context = {
k: v for k, v in self.cleaned_data.items() if k != '__output_dir'
k: v for k, v in self.cleaned_data.items() if k != 'i_dir_name'
}
for k in self.json_fields:
if not isinstance(extra_context[k], dict):
Expand Down

0 comments on commit c559254

Please sign in to comment.