Skip to content

Commit

Permalink
Update alexa_talking_clock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
UbhiTS authored May 30, 2020
1 parent e00fac4 commit 93f2aa3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/alexa_talking_clock/alexa_talking_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def configure(self, kwargs):

self.run_every(self.time_announce, self.next_start, (60 * self.frequency.interval))

log_message = f"INIT " + \
f"Start {self.time_start.strftime('%H:%M')}, " + \
f"End {self.time_end.strftime('%H:%M')}, " + \
f"Next {str(self.next_start.strftime('%H:%M'))}, " + \
f"Freq {str(self.frequency.announce_times)}"
log_message = f"\nINIT - ALEXA TALKING CLOCK\n" + \
f" START {self.time_start.strftime('%H:%M')}\n" + \
f" END {self.time_end.strftime('%H:%M')}\n" + \
f" NEXT {str(self.next_start.strftime('%H:%M'))}\n" + \
f" FREQUENCY {str(self.frequency.announce_times)}\n"
self.log(log_message)

if self.debug: self.time_announce(None)
Expand Down

0 comments on commit 93f2aa3

Please sign in to comment.