Invalid start day (valid start days are (param1))
Package:
schedule
8928
Exception Class:
ScheduleValueError
Raise code
"wednesday",
"thursday",
"friday",
"saturday",
"sunday",
)
if self.start_day not in weekdays:
raise ScheduleValueError(
"Invalid start day (valid start days are {})".format(weekdays)
)
weekday = weekdays.index(self.start_day)
days_ahead = weekday - self.next_run.weekday()
if days_ahead <= 0: # Target day already happened this week
days_ahead += 7
self.next_run += datetime.timedelta(days_ahead) - self.period
if self.
Links to the raise (1)
https://github.com/dbader/schedule/blob/8a944c845fb837545f990639b227c2bbfd2f53ba/schedule/__init__.py#L702NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix