diff --git a/HISTORY.rst b/HISTORY.rst index c16a58a..5693380 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,14 @@ History ======= +0.7.6 (2023-02-26) +--------------------------------- + +* BugFix: + * Correction for `layer.delete` (`issue#68`_) + +.. _`issue#68`: https://github.com/Zepmanbc/creopyson/issues/68 + Documentation update (2023-02-16) --------------------------------- diff --git a/creopyson/__init__.py b/creopyson/__init__.py index 74a27de..86895a7 100644 --- a/creopyson/__init__.py +++ b/creopyson/__init__.py @@ -4,7 +4,7 @@ __author__ = """Benjamin C.""" __email__ = "zepman@gmail.com" -__version__ = "0.7.5" +__version__ = "0.7.6" from creopyson.connection import Client from creopyson.objects import jlpoint diff --git a/creopyson/layer.py b/creopyson/layer.py index b4d526f..9d9ba97 100755 --- a/creopyson/layer.py +++ b/creopyson/layer.py @@ -18,7 +18,7 @@ def delete(client, name=None, file_=None): None """ - data = {"name": name} + data = {} if file_ is not None: data["file"] = file_ else: diff --git a/setup.cfg b/setup.cfg index 33511da..dda3cdc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.7.5 +current_version = 0.7.6 commit = True tag = False diff --git a/setup.py b/setup.py index 052176d..34f64d1 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ test_suite="tests", tests_require=test_requirements, url="https://github.com/Zepmanbc/creopyson", - version="0.7.5", + version="0.7.6", zip_safe=False, )