Fixes the Wescamp script download part.
The script was somewhat outdated and not updated to the latest changes to the campaign management script. The functionallity itself is being tested, so more fixes might be needed.
This commit is contained in:
parent
ae4715a195
commit
1fb03f046c
2 changed files with 10 additions and 2 deletions
|
@ -45,6 +45,7 @@ Version 1.9.6+svn:
|
|||
* Fixed: a divide by zero in the calculate_map_ownership_function function
|
||||
* Miscellaneous and bugfixes:
|
||||
* Fixed: issues with singular variant iterators
|
||||
* Fixed: the Wescamp script download part
|
||||
|
||||
Version 1.9.6:
|
||||
* Campaigns:
|
||||
|
|
|
@ -232,8 +232,15 @@ if __name__ == "__main__":
|
|||
# send it unconditionally.
|
||||
wml = libwml.CampaignClient(server)
|
||||
if(stamp == None):
|
||||
wml.put_campaign("", addon, "", password, "", "", "",
|
||||
temp_dir + "/" + addon + ".cfg", temp_dir + "/" + addon + "/")
|
||||
ignore = {}
|
||||
stuff = {}
|
||||
stuff["passphrase"] = password
|
||||
wml.put_campaign(addon
|
||||
, temp_dir + "/" + addon + "/_main.cfg"
|
||||
, temp_dir + "/" + addon + "/"
|
||||
, ignore
|
||||
, stuff)
|
||||
|
||||
logging.info("New version of addon '%s' downloaded.", addon)
|
||||
else:
|
||||
if(stamp == get_timestamp(server, addon)):
|
||||
|
|
Loading…
Add table
Reference in a new issue