MPC/utils/Utils.py
Nguyễn Anh Khoa bed5a47d55 init
2018-12-04 02:05:06 +07:00

8 lines
152 B
Python

class Utils:
def lookup(self, name, lst, func):
for x in lst:
if name == func(x):
return x
return None