Skip to content
Snippets Groups Projects
Commit 5dbcc318 authored by Matthias Bodenbenner's avatar Matthias Bodenbenner
Browse files

several bug fixes

parent 0a1bf3d3
No related branches found
No related tags found
No related merge requests found
Pipeline #16676 passed
File deleted
File added
import MQTT import wzl.mqtt
import time import time
import logging import logging
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup(name='wzl-mqtt', setup(name='wzl-mqtt',
version='1.1.0', version='1.1.3',
url='', url='',
author='Benjamin Montavon, Matthias Bodenbenner', author='Benjamin Montavon, Matthias Bodenbenner',
author_email='m.bodenbenner@wzl.rwth-aachen.de', author_email='m.bodenbenner@wzl.rwth-aachen.de',
......
import logging import logging
logger = logging.getLogger('MQTT') logger = logging.getLogger('mqtt')
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
from .exceptions import MQTTException as MQTTException from .exceptions import MQTTException as MQTTException
......
...@@ -11,9 +11,9 @@ __module_path__ = pathlib.Path(__file__).resolve().parent ...@@ -11,9 +11,9 @@ __module_path__ = pathlib.Path(__file__).resolve().parent
if str(__module_path__) not in sys.path: if str(__module_path__) not in sys.path:
sys.path.append(str(__module_path__)) sys.path.append(str(__module_path__))
from .Exceptions import ConnectionError from .exceptions import ConnectionError
from .Exceptions import SubscriptionError from .exceptions import SubscriptionError
from .Exceptions import PublishError from .exceptions import PublishError
import warnings import warnings
import inspect import inspect
......
...@@ -2,7 +2,7 @@ import datetime ...@@ -2,7 +2,7 @@ import datetime
import json import json
from typing import Dict from typing import Dict
from wzl.mqtt.client import MQTTPublisher from .client import MQTTPublisher
class ScheduledMQTTPublisher(MQTTPublisher): class ScheduledMQTTPublisher(MQTTPublisher):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment