Skip to content

Commit

Permalink
fix:fix dsm version params bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjdonald committed Nov 9, 2021
1 parent 79ae069 commit 78f9835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "synology_drive_api"
version = "1.0.5"
version = "1.0.6"
description = "synology drive api python wrapper"
authors = ["zbjdonald <[email protected]>"]
license = "MIT"
Expand Down
5 changes: 3 additions & 2 deletions synology_drive_api/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ def __init__(self,
port: Union[None, str, int] = None,
nas_domain: Optional[str] = None,
https: bool = True,
enable_label_cache: bool = True) -> None:
self.session = SynologySession(username, password, ip_address, port, nas_domain, https)
enable_label_cache: bool = True,
dsm_version: str = '6') -> None:
self.session = SynologySession(username, password, ip_address, port, nas_domain, https, dsm_version)
self.enable_label_cache = enable_label_cache

def __enter__(self):
Expand Down

0 comments on commit 78f9835

Please sign in to comment.