Skip to content

Commit

Permalink
Update client example
Browse files Browse the repository at this point in the history
  • Loading branch information
micbou committed Dec 22, 2015
1 parent a6388c8 commit 827cf79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example_client.py
Expand Up @@ -107,10 +107,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 827cf79

Please sign in to comment.