callbacks update - now callbacks can ask window for repaint
This commit is contained in:
parent
9145974c7f
commit
4d4c0cb56a
4 changed files with 39 additions and 7 deletions
|
@ -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__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue