Skip to content

Commit b806431

Browse files
author
Khole
committed
Fix bug in config setup
1 parent e715bea commit b806431

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyhiveapi/apyhiveapi/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ async def startSession(self, config: dict = {}):
483483
await self.updateTokens(config["tokens"], False)
484484

485485
if "device_data" in config and not self.config.file:
486-
self.auth.deviceGroupKey = config["device_data"][0]
487-
self.auth.deviceKey = config["device_data"][1]
488-
self.auth.devicePassword = config["device_data"][2]
486+
self.auth.device_group_key = config["device_data"][0]
487+
self.auth.device_key = config["device_data"][1]
488+
self.auth.device_password = config["device_data"][2]
489489

490490
if not self.config.file and "tokens" not in config:
491491
raise HiveUnknownConfiguration

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def requirements_from_file(filename="requirements.txt"):
1616

1717

1818
setup(
19-
version="0.5.12",
19+
version="0.5.13",
2020
package_data={"data": ["*.json"]},
2121
include_package_data=True,
2222
cmdclass={

0 commit comments

Comments
 (0)