diff --git a/pyobs/comm/xmpp/xmppcomm.py b/pyobs/comm/xmpp/xmppcomm.py index de366819..9034919b 100644 --- a/pyobs/comm/xmpp/xmppcomm.py +++ b/pyobs/comm/xmpp/xmppcomm.py @@ -371,7 +371,7 @@ async def _got_online(self, msg: Any) -> None: # if no interfaces are implemented (not even IModule), quit here if len(interface_names) == 0: - module = jid[: jid.index["@"]] + module = jid[: jid.index("@")] log.error(f"Module {module} does not seem to implement IModule, ignoring.") return diff --git a/pyproject.toml b/pyproject.toml index 42a84bfd..26da42f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pyobs-core" packages = [{ include = "pyobs" }] -version = "1.12.5" +version = "1.12.6" description = "robotic telescope software" authors = ["Tim-Oliver Husser "] license = "MIT"