Skip to content

Commit

Permalink
Merge pull request #25 from neuroforgede/2.1.0
Browse files Browse the repository at this point in the history
fix consumer proxy behaviour
  • Loading branch information
s4ke committed Jun 20, 2023
2 parents 4a11c97 + 4476de2 commit 0d36ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skipper/skipper/dataseries/models/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def try_send_events(
headers['User-Agent'] = fake_agent()
try:
_resp: Optional[requests.Response] = None
if proxy_url is not None or proxy_url == '':
if proxy_url is not None and proxy_url != '':
_resp = requests.post(
proxy_url,
headers={
Expand Down

0 comments on commit 0d36ebe

Please sign in to comment.