pkpio / fitbit-googlefit

Export Fitbit data to Google Fit. Unlike the alternatives such as fitnessyncer.com, this offers very fine intraday granularity (every minute/second data).
http://pkp.io/blog/fitbit-to-googlefit-sync/
GNU General Public License v3.0
500 stars 59 forks source link

Fix cron.sh to "source" the virtualenv #43

Closed lightmaster closed 6 years ago

lightmaster commented 6 years ago

cron.sh originally used the system's python3, not the one installed in the virtualenv. If there were any unmet dependencies on the host system, cron.sh would error out. The change sources fitbitenv/bin/activate so the following python3 will be from the virtualenv instead of the host system.