main.py update

This commit is contained in:
ingvar1995 2016-02-20 00:10:24 +03:00
parent 296957ed5e
commit 565d800a6e
4 changed files with 30 additions and 5 deletions

View file

@ -0,0 +1,7 @@
# TODO: add string to bin and bin to string (TOX ID) (and DHT connection?)
def log(data):
with open("logs.log", "a") as fl:
fl.write(str(data))