dkruyt / ginlong-scraper

A python script that scrapes PV statistics from the Ginlong monitor pages and outputs it to influxdb, pvoutput or mqtt
GNU General Public License v3.0
48 stars 30 forks source link

assertion error on schedule #17

Open fockarty opened 3 years ago

fockarty commented 3 years ago

Hi,

I like your scraper, the old version worked perfectly. Now i am trying the new one and get the error below. changing line 261 to schedule.every(5).minutes..do(main).run() fixes it (on python3.7.3)

Traceback (most recent call last): File "./ginlong-scraper.py", line 261, in schedule.every(5).minutes.at(':00').do(main).run() File "/usr/lib/python3/dist-packages/schedule/init.py", line 255, in at assert self.unit in ('days', 'hours') or self.start_day AssertionError

Regards, Robin