Skip to content

Commit

Permalink
Merge pull request statsd#55 from leonmax/patch-1
Browse files Browse the repository at this point in the history
minor issue in python client.
  • Loading branch information
kastner committed Jan 25, 2012
2 parents cf82c66 + 60ea7f0 commit c9d827a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_example.py
Expand Up @@ -72,7 +72,7 @@ def send(data, sample_rate=1):
import random
if random.random() <= sample_rate:
for stat in data.keys():
value = data[stat]
value = sampled_data[stat]
sampled_data[stat] = "%s|@%s" %(value, sample_rate)
else:
sampled_data=data
Expand Down

0 comments on commit c9d827a

Please sign in to comment.