Skip to content

Commit

Permalink
Merge pull request #150 from OpenDataServices/2024-10-22
Browse files Browse the repository at this point in the history
2024 10 22
  • Loading branch information
James (ODSC) authored Oct 23, 2024
2 parents bfe18c0 + 77fc220 commit 48e8c08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.31.1] - 2024-10-23

## Fixed

- Fixed string formatting for the "The request timed out after %(timeout)s seconds" error

## [0.31.0] - 2024-10-16

Note: Release 0.30.5 was not done properly and was missing some code.
Expand Down
5 changes: 2 additions & 3 deletions cove/input/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ def data_input(request, form_classes=default_form_classes, text_file_name='test.
except requests.Timeout as err:
return render(request, 'error.html', context={
'sub_title': _(
"The request timed out after %(timeout)s seconds",
getattr(settings, "REQUESTS_TIMEOUT", "indefinite"),
),
"The request timed out after %(timeout)s seconds"
) % getattr(settings, "REQUESTS_TIMEOUT", "indefinite"),
'link': 'index',
'link_text': _('Try Again'),
'msg': str(err)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='libcoveweb',
version='0.31.0',
version='0.31.1',
author='Open Data Services',
author_email='[email protected]',
packages=find_packages(),
Expand Down

0 comments on commit 48e8c08

Please sign in to comment.