mirror of https://github.com/CIRCL/AIL-framework
Merge pull request #101 from osagit/namedfeeder
fix: name pystemon feeder name in feeder monitor dashboardpull/559/head
commit
f133207fd6
|
@ -71,6 +71,7 @@ while True:
|
||||||
with open(full_item_path, 'rb') as f: #.read()
|
with open(full_item_path, 'rb') as f: #.read()
|
||||||
messagedata = f.read()
|
messagedata = f.read()
|
||||||
path_to_send = os.path.join(pastes_directory, item_id)
|
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) ] )
|
s = b' '.join( [ topic.encode(), path_to_send.encode(), base64.b64encode(messagedata) ] )
|
||||||
socket.send(s)
|
socket.send(s)
|
||||||
|
|
Loading…
Reference in New Issue