remove a feature from the addon manager...
...that creates problems on the server atm: no teamcolorize for the icon list till the server is fixed again what should be done: serialize the teamcolorize call, so that the script only starts one instance at a time
This commit is contained in:
parent
d13ea096bd
commit
4095965813
1 changed files with 7 additions and 2 deletions
|
@ -91,8 +91,13 @@ Select the add-on you want to install from the list and click "OK". The download
|
|||
sys.stderr.write("Cannot find icon " + icon + "\n")
|
||||
src = root_dir + "images/misc/missing-image.png"
|
||||
imgurl = "icons/missing-image.png"
|
||||
Popen([os.path.join(am_dir, "../unit_tree/TeamColorizer"),
|
||||
src, path + "/" + imgurl])
|
||||
#the following line results in many instances of TeamColorizer being
|
||||
#spawned which currently helps killing the server
|
||||
#TODO: make sure that this is serialized, as in "only one process of
|
||||
#TeamColorizer running due to the current call of ths script at a
|
||||
#time"
|
||||
#Popen([os.path.join(am_dir, "../unit_tree/TeamColorizer"),
|
||||
# src, path + "/" + imgurl])
|
||||
|
||||
type = v("type", "none")
|
||||
size = float(v("size", "0"))
|
||||
|
|
Loading…
Add table
Reference in a new issue