From 2f38261d08a7bae73d8a00704c7d78d7d3cd7315 Mon Sep 17 00:00:00 2001 From: Elias Pschernig Date: Fri, 3 Oct 2008 15:17:41 +0000 Subject: [PATCH] wmlunits: use data dir specified on command line... ...instead of './data' to find TeamColorizer --- data/tools/unit_tree/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tools/unit_tree/helpers.py b/data/tools/unit_tree/helpers.py index 36e8b31cbbf..a38bb0871af 100644 --- a/data/tools/unit_tree/helpers.py +++ b/data/tools/unit_tree/helpers.py @@ -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)