parent
c617eced1f
commit
c138ee7bf7
3
main.py
3
main.py
|
@ -1,3 +1,4 @@
|
||||||
|
from datetime import datetime
|
||||||
def debug_print(message: str):
|
def debug_print(message: str):
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
current_time = now.strftime("%H:%M:%S")
|
current_time = now.strftime("%H:%M:%S")
|
||||||
|
@ -10,10 +11,8 @@ def error_print(message: str):
|
||||||
|
|
||||||
debug_print("Importing modules")
|
debug_print("Importing modules")
|
||||||
|
|
||||||
|
|
||||||
from string import whitespace
|
from string import whitespace
|
||||||
import time
|
import time
|
||||||
from datetime import datetime
|
|
||||||
import os
|
import os
|
||||||
try:
|
try:
|
||||||
import paho.mqtt.client as mqtt
|
import paho.mqtt.client as mqtt
|
||||||
|
|
Loading…
Reference in New Issue