Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
support path in Grocy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
SebRut committed Sep 13, 2021
1 parent 45b9db0 commit 78d8b27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pygrocy/grocy.py
Expand Up @@ -36,10 +36,13 @@ def __init__(
base_url,
api_key,
port: int = DEFAULT_PORT_NUMBER,
path: str = None,
verify_ssl=True,
debug=False,
):
self._api_client = GrocyApiClient(base_url, api_key, port, verify_ssl, debug)
self._api_client = GrocyApiClient(
base_url, api_key, port, path, verify_ssl, debug
)

if debug:
_LOGGER.setLevel(logging.DEBUG)
Expand Down

0 comments on commit 78d8b27

Please sign in to comment.