From 3e2c0e71da0b4a55b7a96a2cc35f082cdc79ea1e Mon Sep 17 00:00:00 2001 From: atoav <dh@atoav.com> Date: Wed, 20 May 2020 16:00:20 +0200 Subject: [PATCH] Fix xml import path thing --- bbbmon/meetings.py | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bbbmon/meetings.py b/bbbmon/meetings.py index b5139e9..0865142 100644 --- a/bbbmon/meetings.py +++ b/bbbmon/meetings.py @@ -52,8 +52,8 @@ def request_meetings(secret: Secret, bbb_url: Url, user_config_path: str) -> Xml try: root = ElementTree.XML(r.text) - except xml.etree.ElementTree.ParseError as e: - click.echo("{} The XML returned from {} returned an xml.etree.ElementTree.ParseError. The response text from the Server was:\n{}".format(click.style('Error:', fg='red', bold=True), url, r.text)) + except ElementTree.ParseError as e: + click.echo("{} The XML returned from {} couldn't be properly parsed. The response text from the Server was:\n{}".format(click.style('Error:', fg='red', bold=True), url, r.text)) print("Exiting...") exit() diff --git a/pyproject.toml b/pyproject.toml index c3c5fb0..ff9c4a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,13 @@ [tool.poetry] name = "bbbmon" -version = "0.1.24" +version = "0.1.25" description = "A small CLI utility to monitor bbb usage" authors = ["David Huss <david.huss@hfbk-hamburg.de>"] maintainers = ["David Huss <david.huss@hfbk-hamburg.de>"] license = "GPL-3.0+" readme = "README.md" classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: System Administrators", "License :: Free for non-commercial use", -- GitLab