mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed typo
This commit is contained in:
parent
93545af49c
commit
a35b67865a
|
@ -69,7 +69,7 @@ def main_thread_function(func):
|
||||||
return False
|
return False
|
||||||
event=threading.Event()
|
event=threading.Event()
|
||||||
result=[]
|
result=[]
|
||||||
GLib.idle_add(glib_callback, event, result, *args, **kwargs)
|
idle_add(glib_callback, event, result, *args, **kwargs)
|
||||||
event.wait()
|
event.wait()
|
||||||
if isinstance(result[0], Exception):
|
if isinstance(result[0], Exception):
|
||||||
raise result[0]
|
raise result[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user