Skip to content

Commit

Permalink
Merge pull request #492 from r3lax/patch-1
Browse files Browse the repository at this point in the history
hour => hours
  • Loading branch information
waveform80 committed Sep 29, 2018
2 parents 7726b4e + 6817fbc commit eae0310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/timelapse2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def wait():
# Calculate the delay to the start of the next hour
next_hour = (datetime.now() + timedelta(hour=1)).replace(
next_hour = (datetime.now() + timedelta(hours=1)).replace(
minute=0, second=0, microsecond=0)
delay = (next_hour - datetime.now()).seconds
sleep(delay)
Expand Down

0 comments on commit eae0310

Please sign in to comment.