toxygen/src/util.py

8 lines
159 B
Python
Raw Normal View History

2016-02-19 22:10:24 +01: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))