tests update, added program version string
This commit is contained in:
parent
ae3e84e3d2
commit
8dae4fcad9
3 changed files with 26 additions and 4 deletions
|
@ -1,12 +1,15 @@
|
|||
|
||||
|
||||
program_version = '0.0.1 (alpha)'
|
||||
|
||||
|
||||
def log(data):
|
||||
with open("logs.log", "a") as fl:
|
||||
with open('logs.log', 'a') as fl:
|
||||
fl.write(str(data))
|
||||
|
||||
|
||||
def string_to_bin(tox_id):
|
||||
return tox_id.decode("hex")
|
||||
return tox_id.decode('hex')
|
||||
|
||||
|
||||
def bin_to_string(raw_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue