Skip to content

Commit

Permalink
avoids changing the state of the argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rogersamso authored and enekomartinmartinez committed Sep 19, 2022
1 parent 49785ac commit 24f3e85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pysd/py_backend/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def __init__(self, model, capture_elements, out_file=None):
# want them to run (DataFrameHandler runs first)
self.handler = DataFrameHandler(DatasetHandler(None)).handle(out_file)

capture_elements.append("time")
self.capture_elements = capture_elements
self.capture_elements = capture_elements + ["time"]

self.initialize(model)

Expand Down

0 comments on commit 24f3e85

Please sign in to comment.