This commit is contained in:
Terrtia 2021-04-26 15:09:23 +02:00
commit 3d620a6548
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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)