Skip to content

Conversation

Olshansk
Copy link

Initialize stats and branch of the Segment class to None.

This should hopefully fix the issue outline in #408:

AttributeError: 'Segment' object has no attribute 'stats'

Initialize stats and branch of the Segment class to None.

This should hopefully fix the issue outline in b-ryan#408:

```
AttributeError: 'Segment' object has no attribute 'stats'
```


class Segment(ThreadedSegment):
def __init__(self):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't you also be calling the base class constructor here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants