Add debug foo

This commit is contained in:
7marcus9 2024-09-25 21:46:34 +02:00
parent 0ef87d973f
commit 84afce5957

View file

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