moved datetime

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-24 10:13:44 +02:00
parent c617eced1f
commit c138ee7bf7
1 changed files with 1 additions and 2 deletions

View File

@ -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