Skip to content

Commit ad29cf3

Browse files
committed
sender: fix join of empty tag
1 parent ace80f4 commit ad29cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent/sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def close(self):
122122

123123
def _make_packet(self, label, timestamp, data):
124124
if label:
125-
tag = '.'.join((self.tag, label))
125+
tag = '.'.join((self.tag, label)) if self.tag else label
126126
else:
127127
tag = self.tag
128128
packet = (tag, timestamp, data)

0 commit comments

Comments
 (0)