mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 14:37:17 +00:00
Fixing no such file
This commit is contained in:
parent
ec36f487b4
commit
9a66a6111b
1 changed files with 5 additions and 2 deletions
|
@ -61,5 +61,8 @@ while True:
|
||||||
continue
|
continue
|
||||||
socket.send("%d %s" % (topic, paste))
|
socket.send("%d %s" % (topic, paste))
|
||||||
topic = 102
|
topic = 102
|
||||||
|
try:
|
||||||
messagedata = open(pystemonpath+paste).read()
|
messagedata = open(pystemonpath+paste).read()
|
||||||
socket.send("%d %s %s" % (topic, paste, base64.b64encode(messagedata)))
|
socket.send("%d %s %s" % (topic, paste, base64.b64encode(messagedata)))
|
||||||
|
except IOError as e:
|
||||||
|
continue
|
||||||
|
|
Loading…
Reference in a new issue