[submitter][simpleFarm] use REZ_MESHROOM_VERSION

get the full version of meshroom independently from what was typed to get inside the environment
This commit is contained in:
Yann Lanthony 2018-04-13 22:27:45 +02:00
parent 58bd363368
commit 6a56e016e8

View file

@ -12,7 +12,7 @@ currentDir = os.path.dirname(os.path.realpath(__file__))
class SimpleFarmSubmitter(BaseSubmitter):
MESHROOM_PACKAGE = os.environ.get('REZ_USED_REQUEST', '')
MESHROOM_PACKAGE = "meshroom-{}".format(os.environ.get('REZ_MESHROOM_VERSION', ''))
filepath = os.environ.get('SIMPLEFARMCONFIG', os.path.join(currentDir, 'simpleFarmConfig.json'))
config = json.load(open(filepath))