callbacks update - now callbacks can ask window for repaint

This commit is contained in:
ingvar1995 2016-02-24 11:33:49 +03:00
parent 9145974c7f
commit 4d4c0cb56a
4 changed files with 39 additions and 7 deletions

View file

@ -1,4 +1,4 @@
import os
program_version = '0.0.1 (alpha)'
@ -15,3 +15,7 @@ def string_to_bin(tox_id):
def bin_to_string(raw_id):
res = ''.join('{:02x}'.format(ord(x)) for x in raw_id)
return res.upper()
def curr_directory():
return os.path.dirname(os.path.realpath(__file__))