Skip to content

Commit

Permalink
change environment variable override name
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj authored Mar 11, 2023
1 parent 75f640d commit 77156e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hm_pyhelper/miner_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ def get_gateway_mfr_command(sub_command: str, slot: int = 0) -> list:

if gateway_mfr_version >= Version('0.2.0'):
try:
if os.getenv('SWARM_KEY_URI'):
if os.getenv('SWARM_KEY_URI_OVERRIDE'):
device_arg = [
'--device',
os.getenv('SWARM_KEY_URI')
os.getenv('SWARM_KEY_URI_OVERRIDE')
]
else:
device_arg = [
Expand Down

0 comments on commit 77156e1

Please sign in to comment.