Skip to content

Commit 3932e6d

Browse files
committed
I guess it really is supposed to be a tuple
1 parent 670abf1 commit 3932e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/restapi/views/footer_views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_version_compare_data(project, base_version=None):
4343
}
4444
if highest_version_obj:
4545
ret_val['url'] = highest_version_obj.get_absolute_url()
46-
ret_val['slug'] = highest_version_obj.slug
46+
ret_val['slug'] = (highest_version_obj.slug,)
4747
if base_version and base_version.slug != LATEST:
4848
try:
4949
base_version_comparable = parse_version_failsafe(

0 commit comments

Comments
 (0)