I love make unsensed commit messages
This commit is contained in:
parent
e662368fe1
commit
d25f81ba07
1
.gitignore
vendored
1
.gitignore
vendored
@ -63,3 +63,4 @@ target/
|
|||||||
.*.kate-swp
|
.*.kate-swp
|
||||||
.swp.*
|
.swp.*
|
||||||
|
|
||||||
|
.idea/
|
||||||
|
2
main.py
2
main.py
@ -1,7 +1,7 @@
|
|||||||
import socket
|
import socket
|
||||||
|
|
||||||
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||||
s.connect("/tmp/bot.sock")
|
s.connect("../bot-base.sock")
|
||||||
while True:
|
while True:
|
||||||
s.send(input(">>> ").encode('utf-8'))
|
s.send(input(">>> ").encode('utf-8'))
|
||||||
s.close()
|
s.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user