👍️[Update] Controller : callbackSetUiLanguageの処理を修正
utils.getKeyByValueを削除
This commit is contained in:
@@ -10,12 +10,6 @@ def getImageFile(file_name):
|
||||
img = Image_open(os_path.join(os_path.dirname(__file__), "img", file_name))
|
||||
return img
|
||||
|
||||
def getKeyByValue(dictionary, value):
|
||||
for key, val in dictionary.items():
|
||||
if val == value:
|
||||
return key
|
||||
return None
|
||||
|
||||
def callFunctionIfCallable(function, *args):
|
||||
if callable(function) is True:
|
||||
function(*args)
|
||||
|
||||
Reference in New Issue
Block a user