def reset(self):
        ''' Reset all streams '''

        # reset the main stream
        if self.stream:
            self.stream.reset()

        # reset the initial stream (otherwise old 'adds' remain in the new stream)
        if self.initial_stream:
            self.initial_stream.reset()
def reset ( self ) : if self . stream : self . stream . reset ( ) if self . initial_stream : self . initial_stream . reset ( )
Reset all streams