#NEWLINE# def onStop( self ) : #NEWLINE# #INDENT# if ( len ( timestamp . frames ) > 0 ) : #NEWLINE# #INDENT# for ( image , timestamp ) in self . frames : #NEWLINE# #INDENT# pygame . image . save ( image , ( ( 'snaps/' + str ( timestamp ) ) + '.png' ) )