Skip to content

Commit fa4d0b0

Browse files
committed
update iter() for better fallback in getting 'meta' argument
1 parent ef7c41a commit fa4d0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapinghub/client/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def iter(self, _path=None, count=None, requests_params=None, **apiparams):
110110
"""
111111
update_kwargs(apiparams, count=count)
112112
apiparams = self._modify_iter_params(apiparams)
113-
drop_key = '_key' not in apiparams.get('meta', [])
113+
drop_key = '_key' not in (apiparams.get('meta') or [])
114114
for entry in self._origin.iter_values(
115115
_path, requests_params, **apiparams
116116
):

0 commit comments

Comments
 (0)