callbacks update - now callbacks can ask window for repaint
This commit is contained in:
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user