Skip to content

Commit

Permalink
Update examples/python_example.py
Browse files Browse the repository at this point in the history
Fix host parameter value.
  • Loading branch information
sivy committed Nov 12, 2012
1 parent d9ecb0a commit 6061c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python_example.py
Expand Up @@ -11,7 +11,7 @@
# Sends statistics to the stats daemon over UDP # Sends statistics to the stats daemon over UDP
class Statsd(object): class Statsd(object):


def __init__(self, host=localhost, port=8125): def __init__(self, host='localhost', port=8125):
self.host = host self.host = host
self.port = port self.port = port
try: try:
Expand Down

0 comments on commit 6061c3b

Please sign in to comment.