wesnoth_addon_manager: update another deprecated method

This commit is contained in:
Elvish_Hunter 2023-03-09 22:37:59 +01:00
parent 1aac405869
commit 841b42d26c

View file

@ -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))