From 1ea5a0ffd6adf14cfeccdb7c009cafb957213735 Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Wed, 17 Feb 2021 14:10:59 +0100 Subject: [PATCH 1/3] correction drawing.get_cur_drawing key_data --- creopyson/drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creopyson/drawing.py b/creopyson/drawing.py index eaf066f..7aa1401 100755 --- a/creopyson/drawing.py +++ b/creopyson/drawing.py @@ -387,7 +387,7 @@ def get_cur_model(client, drawing=None): data = {} if drawing: data["drawing"] = drawing - return client._creoson_post("drawing", "get_cur_model", data, "drawing") + return client._creoson_post("drawing", "get_cur_model", data, "file") def get_cur_sheet(client, drawing=None): From f533fc274c694e210ba5e896c3be6b8d2c9aa9c7 Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Wed, 17 Feb 2021 14:28:27 +0100 Subject: [PATCH 2/3] Changelog for upcoming release 0.6.2 --- HISTORY.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index c22fc83..0b5298e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,15 @@ History ======= +0.6.2 (2021-02-17) +------------------ + +Bugfix: + +* drawing.get_cur_model: correction data_key (`issue#27`_) + +.. _`issue#27`: https://github.com/Zepmanbc/creopyson/issues/27 + 0.6.1 (2021-01-30) ------------------ From 68ee3408047bfa436e09e46b3c496f234e9a15f4 Mon Sep 17 00:00:00 2001 From: Zepmanbc Date: Wed, 17 Feb 2021 14:28:42 +0100 Subject: [PATCH 3/3] =?UTF-8?q?Bump=20version:=200.6.1=20=E2=86=92=200.6.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- creopyson/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/creopyson/__init__.py b/creopyson/__init__.py index eeef960..c2c2adf 100644 --- a/creopyson/__init__.py +++ b/creopyson/__init__.py @@ -4,7 +4,7 @@ __author__ = """Benjamin C.""" __email__ = "zepman@gmail.com" -__version__ = "__version__ = '0.6.1'" +__version__ = "__version__ = '0.6.2'" from creopyson.connection import Client from creopyson.objects import jlpoint diff --git a/setup.cfg b/setup.cfg index 1735e46..e8179ea 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.6.1 +current_version = 0.6.2 commit = True tag = False diff --git a/setup.py b/setup.py index b5c55e0..56b0992 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/Zepmanbc/creopyson', - version='0.6.1', + version='0.6.2', zip_safe=False, )