diff --git a/licensing/methods.py b/licensing/methods.py index 6c95b64..e68fb91 100644 --- a/licensing/methods.py +++ b/licensing/methods.py @@ -1422,7 +1422,7 @@ def GetMachineCode(v=1): machineGUID = Helpers.__read_registry_value(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Cryptography", "MachineGuid") if machineGUID != None and machineGUID != "": - HelperMethods.get_SHA256(machineGUID) + return HelperMethods.get_SHA256(machineGUID) return None else: return HelperMethods.get_SHA256(seed) diff --git a/setup.py b/setup.py index ad8c862..68b9d9e 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.49', # Start with a small number and increase it with every change you make + version = '0.50', # 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_49.tar.gz', # I explain this later on + download_url = 'https://github.com/Cryptolens/cryptolens-python/archive/v_50.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