16 lines
347 B
Python
16 lines
347 B
Python
import logging
|
|
import constants
|
|
import inventtesla_checker
|
|
|
|
# Enable logging
|
|
logging.basicConfig(
|
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO
|
|
)
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
def main()->None:
|
|
inventtesla_checker.work(constants.SLEEP_TIME)
|
|
|
|
if __name__ == "__main__":
|
|
main() |