Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cameras not reading data as bytes #233

Merged
merged 3 commits into from
Jan 15, 2023
Merged

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jan 15, 2023

No description provided.

@bdraco bdraco changed the title Fix double url encoding for GET requests Fix cameras not reading data as bytes Jan 15, 2023
@mib1185 mib1185 added this to the 2.0.1 milestone Jan 15, 2023
@mib1185 mib1185 added the bugfix PR that fixes a bug label Jan 15, 2023
@bdraco bdraco marked this pull request as ready for review January 15, 2023 21:08
@bdraco bdraco requested a review from mib1185 as a code owner January 15, 2023 21:08

class SynoBaseApi:
"""Base api class."""

def __init__(self, dsm):
def __init__(self, dsm: "SynologyDSM") -> None:
Copy link
Owner

@mib1185 mib1185 Jan 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhhh ... very nice 👍 with this i can continue with #183

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it because I was doing some right clicking and following the code, and it made it a lot easier

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be better to make it a relative import in the future, but probably fine either way for now

Copy link
Owner

@mib1185 mib1185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bdraco

@mib1185 mib1185 merged commit 2fbcd33 into mib1185:master Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix PR that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants