Permalink
Browse files

This should be self.addr.

  • Loading branch information...
1 parent 6876eeb commit 750c395ad56b314083145b1a1b825dda8ed05653 @Jonty committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pystatsd/statsd.py
View
@@ -119,7 +119,7 @@ def send(self, data, sample_rate=1):
sampled_data = data
try:
- [self.udp_sock.sendto("%s:%s" % (stat, value), addr) for stat, value in sampled_data.iteritems()]
+ [self.udp_sock.sendto("%s:%s" % (stat, value), self.addr) for stat, value in sampled_data.iteritems()]
except:
self.log.exception("unexpected error")

0 comments on commit 750c395

Please sign in to comment.