Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Fixed module name.
  • Loading branch information
programmdesign authored and dcoles committed Jul 28, 2024
1 parent 23b725e commit 253d5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycurl_requests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def patch_requests():
"""Patch Requests library with PycURL Requests"""
import sys

for module in ('requests', 'request.adapters', 'requests.api', 'requests.cookies', 'requests.exceptions',
for module in ('requests', 'requests.adapters', 'requests.api', 'requests.cookies', 'requests.exceptions',
'requests.models', 'requests.sessions', 'requests.structures'):
sys.modules[module] = sys.modules[module.replace('requests', __name__, 1)]

Expand Down

0 comments on commit 253d5c2

Please sign in to comment.