wesnoth_addon_manager: update another deprecated method
This commit is contained in:
parent
1aac405869
commit
841b42d26c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ if __name__ == "__main__":
|
|||
mythread = cs.get_campaign_raw_async(name)
|
||||
|
||||
pcounter = 0
|
||||
while not mythread.event.isSet():
|
||||
while not mythread.event.is_set():
|
||||
mythread.event.wait(1)
|
||||
if pcounter != cs.counter:
|
||||
print("%s: %d/%d" % (name, cs.counter, cs.length))
|
||||
|
|
Loading…
Add table
Reference in a new issue