mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 18:43:18 +00:00
wmlunits: use data dir specified on command line...
...instead of './data' to find TeamColorizer
This commit is contained in:
parent
8e8855d065
commit
2f38261d08
@ -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…
x
Reference in New Issue
Block a user