Code cleanup
This commit is contained in:
parent
2bfb988460
commit
994e83dbeb
46 changed files with 261 additions and 318 deletions
|
|
@ -17,7 +17,7 @@ class SleepFor(ActionView):
|
|||
|
||||
def post(self, args):
|
||||
sleep_time = args.get("time")
|
||||
logging.info(f"Going to sleep for {sleep_time}...")
|
||||
logging.info("Going to sleep for %s...", sleep_time)
|
||||
start = time.time()
|
||||
time.sleep(sleep_time)
|
||||
end = time.time()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue