Skip to content

Commit

Permalink
typo :P
Browse files Browse the repository at this point in the history
  • Loading branch information
FIREdog5 committed May 29, 2021
1 parent 6a2febc commit 90d7946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shepherd/Tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ def sleep_function(expression):
if expression == '':
raise Exception('expected a time afer after SLEEP')
try:
ammount = float(expression)
amount = float(expression)
except ValueError as e:
raise Exception(f'expected a time afer after SLEEP, but got {expression}')
time.Sleep(ammount)
time.Sleep(amount)

def read_function(line):
"""
Expand Down

0 comments on commit 90d7946

Please sign in to comment.