fix typo and stuff
This commit is contained in:
parent
45d1f3a99d
commit
6778b32fe8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Command(BaseCommand):
|
|||
s.connect((options['graphite'], options['graphite_port']))
|
||||
message = '\n'.join(lines) + '\n' # all lines must end in a newline
|
||||
print(message)
|
||||
sock.sendall(message)
|
||||
s.sendall(message.encode())
|
||||
finally:
|
||||
s.close()
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue