Skip to content

Commit

Permalink
Update client example
Browse files Browse the repository at this point in the history
  • Loading branch information
micbou committed Jul 22, 2016
1 parent 65f524e commit ed23b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example_client.py
Expand Up @@ -113,10 +113,10 @@ def IsReady( self, include_subservers = False ):

def Shutdown( self ):
if self.IsAlive():
self._popen_handle.terminate()
self.PostToHandlerAndLog( 'shutdown' )


def PostToHandlerAndLog( self, handler, data ):
def PostToHandlerAndLog( self, handler, data = None ):
self._CallHttpie( 'post', handler, data )


Expand Down

0 comments on commit ed23b23

Please sign in to comment.