Skip to content

Commit

Permalink
Merge pull request #191 from NebraLtd/kashifpk/revert-key-regeneration
Browse files Browse the repository at this point in the history
Revert key regeneration logic.
  • Loading branch information
kashifpk authored Sep 2, 2022
2 parents 75700e5 + c3930c1 commit a601bd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions hm_pyhelper/miner_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,6 @@ def provision_key():
LOGGER.error("[ECC Provisioning] Error during provisioning. %s" % str(exp))
provisioning_successful = False

# Try key generation.
if provisioning_successful is False:
try:
gateway_mfr_result = run_gateway_mfr("key --generate")
provisioning_successful = True

except Exception as exp:
LOGGER.error("[ECC Provisioning] key --generate failed: %s" % str(exp))

return provisioning_successful


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='hm_pyhelper',
version='0.13.35',
version='0.13.36',
author="Nebra Ltd",
author_email="[email protected]",
description="Helium Python Helper",
Expand Down

0 comments on commit a601bd9

Please sign in to comment.