powerline-shell icon indicating copy to clipboard operation
powerline-shell copied to clipboard

Fix `Initialize Segment instance variables

Open Olshansk opened this issue 4 years ago • 0 comments

Initialize stats and branch of the Segment class to None.

This should hopefully fix the issue outline in https://github.com/b-ryan/powerline-shell/issues/408:

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

Olshansk avatar Feb 26 '20 18:02 Olshansk