From f3e3bbdde7e686a7d5ef553f3eba073758e467d7 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 6 Oct 2023 17:16:42 +0300 Subject: [PATCH] Fix URI line --- odi6/odi6.py | 3 +-- pyproject.toml | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/odi6/odi6.py b/odi6/odi6.py index 4fe79fe..f6481f2 100755 --- a/odi6/odi6.py +++ b/odi6/odi6.py @@ -77,8 +77,7 @@ the hostname: {data}""" hostname, updating it.""" ) result = self.ovh.put( - f"""/domain/zone/{self.config['domain']}/ -record/{record_exists['id']}""", + f"/domain/zone/{self.config['domain']}/record/{record_exists['id']}", **params, ) else: diff --git a/pyproject.toml b/pyproject.toml index 402b722..6bbb733 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ Homepage = "https://susurrando.com" [project] name = "odi6" -version = "0.0.3" +version = "0.0.4" description = "Update Dynamic Host IPv6 in OVH" readme = "README.md" authors = [{ name = "Antonio J. Delgado", email = "antonio@susurrando.com" }] diff --git a/setup.cfg b/setup.cfg index 4b0a89b..81b0e3a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = odi6 -version = 0.0.3 +version = 0.0.4 [options] packages = odi6