PlanktoScope / device-backend

All backend software underneath the PlanktoScope device's standard API
GNU General Public License v3.0
2 stars 6 forks source link

Change the path of the machine-name file to load #16

Closed ethanjli closed 8 months ago

ethanjli commented 8 months ago

This PR updates the backend to load the machine name from /var/lib/planktoscope/machine-name, due to the changes made in https://github.com/PlanktoScope/PlanktoScope/pull/350 and https://github.com/PlanktoScope/device-pkgs/pull/5 and https://github.com/PlanktoScope/pallet-standard/pull/5.

ethanjli commented 8 months ago

From testing with https://github.com/PlanktoScope/PlanktoScope/pull/350, the Python backend does seem able to load the machine name from the new location. So I will merge this PR.