Skip to content

Commit

Permalink
MAINT: set default type json.dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Sep 11, 2022
1 parent 05fb26f commit d482d96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rocketpy/Environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,8 @@ def exportEnvironment(self, filename="environment"):
f.write(json.dumps(
self.exportEnvDictionary,
sort_keys=False,
indent=4)
indent=4,
default=str)
)

# close file
Expand Down

0 comments on commit d482d96

Please sign in to comment.