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

config.txt will only be copied if /home/pi/adeept_rasptank folder is used for installation #21

Open
queeek opened this issue Dec 27, 2020 · 0 comments

Comments

@queeek
Copy link

queeek commented Dec 27, 2020

If a different folder than /home/pi/adeept_rasptank is used for installation copying the config.txt doesn't work anymore.

Please use

try:
	os.system("sudo cp -f " + thisPath + "/adeept_rasptank/server/config.txt //etc/config.txt")
except:
	pass

instead of

os.system("sudo cp -f //home/pi/adeept_rasptank/server/config.txt //etc/config.txt")
see

os.system("sudo cp -f //home/pi/adeept_rasptank/server/config.txt //etc/config.txt")

(not tested in regards of typos, please test before committing the change)

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

1 participant