Skip to content

Commit ad95d65

Browse files
committed
Remove redundant self.proxy assignment
1 parent cef8ab8 commit ad95d65

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

yagooglesearch/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ def __init__(
207207

208208
# Update proxy_dict if a proxy is provided.
209209
if proxy:
210-
self.proxy = proxy
211-
212210
urllib_object = urllib.parse.urlparse(self.proxy)
213211
# Standardize case since the scheme will be checked against a hard-coded list.
214212
scheme = urllib_object.scheme.lower()

0 commit comments

Comments
 (0)