Skip to content

Commit

Permalink
Fixes #228
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Mar 20, 2024
1 parent dc7b704 commit 4438f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reportportal_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,8 @@ def _log(self, batch: Optional[List[RPRequestLog]]) -> Optional[Tuple[str, ...]]
url = uri_join(self.base_url_v2, 'log')
response = HttpRequest(self.session.post, url, files=RPLogBatch(batch).payload,
verify_ssl=self.verify_ssl, http_timeout=self.http_timeout).make()
return response.messages
if response:
return response.messages

def log(self,
time: str,
Expand Down

0 comments on commit 4438f09

Please sign in to comment.