add inxi and verifiable credential functionality #8

Merged
pedro merged 19 commits from issue_5__vcs_and_inxi into main 2024-12-17 10:07:51 +00:00
Showing only changes of commit ad2b375346 - Show all commits

View file

@ -352,7 +352,7 @@ def send_to_sign_credential(snapshot, token, url):
request = urllib.request.Request(url, data=data, headers=headers) request = urllib.request.Request(url, data=data, headers=headers)
with urllib.request.urlopen(request) as response: with urllib.request.urlopen(request) as response:
status_code = response.getcode() status_code = response.getcode()
response_text = response.read().decode('utf-8') #response_text = response.read().decode('utf-8')
if 200 <= status_code < 300: if 200 <= status_code < 300:
logger.info(_("Credential successfully signed")) logger.info(_("Credential successfully signed"))