From cb7406dc9b612819b99267dca4c9eed8ce2f4d2e Mon Sep 17 00:00:00 2001 From: Artem Los Date: Wed, 8 Feb 2023 13:23:38 +0100 Subject: [PATCH] Minor fix and update version number --- licensing/methods.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/licensing/methods.py b/licensing/methods.py index c2e023f..ba77ad0 100644 --- a/licensing/methods.py +++ b/licensing/methods.py @@ -650,7 +650,7 @@ def get_keys(token, product_id, page = 1, order_by="ID ascending", search_query= else: return (None, "Could not contact the server.") - return (jobj["products"], "") + return (jobj["licenseKeys"], "") class Customer: diff --git a/setup.py b/setup.py index 339a862..975be72 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,13 @@ setup( name = 'licensing', # How you named your package folder (MyLib) packages = ['licensing'], # Chose the same as "name" - version = '0.38', # Start with a small number and increase it with every change you make + version = '0.39', # Start with a small number and increase it with every change you make license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library author = 'Cryptolens AB', # Type in your name author_email = 'support@cryptolens.io', # Type in your E-Mail url = 'https://cryptolens.io', # Provide either the link to your github or to your website - download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_38.tar.gz', # I explain this later on + download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_39.tar.gz', # I explain this later on keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best classifiers=[ #'Development Status :: 5 - Stable', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package