diff --git a/pyproject.toml b/pyproject.toml index 0361f2c..2bc2982 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"] [project] name = "smahub" -version = "1.7.6" +version = "1.7.7" authors = [{ name = "Daniel Krippner", email = "dk.mailbox@gmx.net" }] description = "Little daemon that runs plugins for collecting data from SMA PV products, and publishes to eg MQTT via other plugins." readme = "README.md" diff --git a/src/smahub.py b/src/smahub.py index 6c8cf3c..c21d985 100644 --- a/src/smahub.py +++ b/src/smahub.py @@ -215,7 +215,7 @@ async def main(args): logging.getLogger().setLevel(logging.DEBUG) logging.debug('Verbose output enabled') - if args.debug: + if args.debug == 'true': # Allow other computers to attach to debugpy at this IP address and port. debugpy.listen(('0.0.0.0', args.debug_port)) logging.info(f"Listening on debug port: {args.debug_port}")