Add debug foo
This commit is contained in:
parent
0ef87d973f
commit
84afce5957
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ import os
|
||||||
import config
|
import config
|
||||||
import sys
|
import sys
|
||||||
import socket
|
import socket
|
||||||
|
import setproctitle
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
setproctitle.setproctitle('keymatic.py [' + str(datetime.utcnow()) + '] ' + str(sys.argv))
|
||||||
|
|
||||||
lsock = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)
|
lsock = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)
|
||||||
def send_lsock(msg):
|
def send_lsock(msg):
|
||||||
|
|
Loading…
Reference in a new issue