upload_symbols: give some feedback

Change-Id: I2a1faa91ec502cfe8b62324f8fa80264bdb9d31f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160197
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli 2023-12-01 10:25:51 +01:00
parent 6b41d3f677
commit 5b78bb218c

View file

@ -48,7 +48,11 @@ def main():
data['csrfmiddlewaretoken'] = csrftoken
session.post(upload_url, headers=headers, files=files, data=data)
response = session.post(upload_url, headers=headers, files=files, data=data)
if response.ok:
print("Symbols uploaded successfully")
else:
print(response.text)
if __name__ == "__main__":