Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add way to check for tinkerpath in enviorment, if masterhost and worker nodes have different tinkerpaths #205

Open
misterbrandonwalker opened this issue Mar 12, 2021 · 2 comments

Comments

@misterbrandonwalker
Copy link

in tinkerio.py

(add this function to Tinker class)
def CheckEnvironmentTinker(self):
tinkerpath = os.getenv("TINKERPATH", default="")
return tinkerpath

inside (def calltinker)
tinkpath=self.CheckEnvironmentTinker()
if tinkpath!='' and tinkpath!=None:
tinkerpath=tinkpath
else:
tinkerpath=self.tinkerpath
prog = os.path.join(tinkerpath, csplit[0])

@misterbrandonwalker misterbrandonwalker changed the title Add way to check for tinkerpath in enviorment, if masterhost and worker nodes have different tinkrepaths Add way to check for tinkerpath in enviorment, if masterhost and worker nodes have different tinkerpaths Mar 12, 2021
@leeping
Copy link
Owner

leeping commented Mar 12, 2021 via email

@misterbrandonwalker
Copy link
Author

misterbrandonwalker commented Mar 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants