mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 19:58:11 +00:00
Close the connection before processing the data
This commit is contained in:
parent
25aa0b9359
commit
0b31e864b7
@ -393,6 +393,7 @@ if __name__ == "__main__":
|
||||
if not campaign_list:
|
||||
cs = CampaignClient(address)
|
||||
campaign_list = cs.list_campaigns()
|
||||
del cs
|
||||
if campaign_list:
|
||||
import addon_manager.html
|
||||
addon_manager.html.output(options.html, options.url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user