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

None Type Error #1

Closed
Chetan11-dev opened this issue Jul 19, 2023 · 2 comments
Closed

None Type Error #1

Chetan11-dev opened this issue Jul 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Chetan11-dev
Copy link

Thanks for Library,

Faced this error in Windows

  File "C:\Users\Chetan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\hrequests\response.py", line 127, in Response
    elapsed: timedelta | None = None
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Fix was to set elapsed = None. Please add it to library to help people.

@daijro
Copy link
Owner

daijro commented Jul 20, 2023

Fixed in v0.4.2

@daijro daijro closed this as completed Jul 20, 2023
@Chetan11-dev
Copy link
Author

Thanks

@daijro daijro added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants