toxygen/src/util.py

8 lines
159 B
Python
Raw Normal View History

2016-02-19 21:10:24 +00:00
# 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))