From 5404a0aa895fb549ae3f17fe04a531900ada444d Mon Sep 17 00:00:00 2001 From: Olivier SAGIT Date: Mon, 19 Apr 2021 15:49:11 +0200 Subject: [PATCH] fix: name pystemon feeder in feeder monitor dashboard --- bin/feeder/pystemon-feeder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/feeder/pystemon-feeder.py b/bin/feeder/pystemon-feeder.py index 3a8e5fb9..5ac6fd31 100755 --- a/bin/feeder/pystemon-feeder.py +++ b/bin/feeder/pystemon-feeder.py @@ -71,6 +71,7 @@ while True: with open(full_item_path, 'rb') as f: #.read() messagedata = f.read() path_to_send = os.path.join(pastes_directory, item_id) + path_to_send = 'pystemon>>' + path_to_send s = b' '.join( [ topic.encode(), path_to_send.encode(), base64.b64encode(messagedata) ] ) socket.send(s)