wmlunits: use data dir specified on command line...
...instead of './data' to find TeamColorizer
This commit is contained in:
parent
8e8855d065
commit
2f38261d08
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class ImageCollector:
|
|||
ipath, i, c, bases = self.images[iid]
|
||||
if ipath and os.path.exists(ipath):
|
||||
#shutil.copy2(ipath, opath)
|
||||
command = os.path.join("data",
|
||||
command = os.path.join(self.datadir,
|
||||
"tools/unit_tree/TeamColorizer") + " '%s' '%s'" % (
|
||||
ipath, opath)
|
||||
os.system(command)
|
||||
|
|
Loading…
Add table
Reference in a new issue