4 lines
107 B
Python
4 lines
107 B
Python
def wait_for_set_var(obj, attribute):
|
|
while True:
|
|
if hasattr(obj, attribute):
|
|
break |