mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Merge branch 'master' of https://github.com/ail-project/ail-framework
This commit is contained in:
commit
3d620a6548
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue