Browse Source

(feat) request -> python3

based on: f9773758be
master
Alexeev Nickolay 6 years ago
parent
commit
4739ca85c2
  1. 2
      yandex_connect/base.py

2
yandex_connect/base.py

@ -121,7 +121,7 @@ class YandexConnectRequest(object):
url = '%s/' % url
if data:
for key in data.keys():
for key in list(data):
if data[key] is None or (isinstance(data[key], dict) and not data[key]):
del data[key]
continue

Loading…
Cancel
Save