We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf47633 commit 5cbde02Copy full SHA for 5cbde02
sc2reader/plugins/utils.py
@@ -53,7 +53,9 @@ def __getitem__(self, frame):
53
state = self[prev_frame]
54
else:
55
# Copy the previous state and use it as our basis here
56
- state = self[prev_frame].copy()
+ state = self[prev_frame]
57
+ if hasattr(state, 'copy'):
58
+ state = state.copy()
59
60
self[frame] = state
61
return state
0 commit comments