Added sleep()

This commit is contained in:
2Shirt 2019-07-16 17:53:14 -06:00
parent ac7fcb2e0b
commit 86d9979a7f
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -6,6 +6,7 @@ import logging
import os
import re
import sys
import time
try:
from termios import tcflush, TCIOFLUSH
@ -148,5 +149,11 @@ def strip_colors(string):
return string
def sleep(seconds=2):
"""Simple wrapper for time.sleep."""
LOG.debug('Sleeping for %s seconds', seconds)
time.sleep(seconds)
if __name__ == '__main__':
print("This file is not meant to be called directly.")