Skip to content

Commit

Permalink
#44 - Session tags are now sent to the remote server as JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
js-dieu committed Aug 20, 2021
1 parent 2fe25ac commit f19f3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_monitor/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def compute_info(self, description, tags):
json=dict(session_h=self.__session,
run_date=run_date,
scm_ref=scm,
description=description))
description=json.loads(description)))
if r.status_code != HTTPStatus.CREATED:
self.__remote = ''
msg = "Cannot insert session in remote monitor server ({})! Deactivating...')".format(r.status_code)
Expand Down

0 comments on commit f19f3b7

Please sign in to comment.