wesnoth_addon_manager: update a deprecated method

This commit is contained in:
Elvish_Hunter 2023-03-09 20:48:32 +01:00
parent 3ab5770ca8
commit 1aac405869

View file

@ -362,7 +362,7 @@ if __name__ == "__main__":
mythread = cs.put_campaign_async(name, cfgfile, wmldir, ign, pbl)
pcounter = 0
while not mythread.event.isSet():
while not mythread.event.is_set():
mythread.event.wait(1)
if cs.counter != pcounter:
print("%d/%d" % (cs.counter, cs.length))