Commit 1e8bd712 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! ListBox: Be more specific 'limit' values needing a cast.

parent b92e85da
...@@ -2019,7 +2019,7 @@ class ListBoxRenderer: ...@@ -2019,7 +2019,7 @@ class ListBoxRenderer:
# Set the total number of objects. # Set the total number of objects.
self.total_size = sum([s.object_list_len for s in report_section_list]) self.total_size = sum([s.object_list_len for s in report_section_list])
limit = param_dict.get('limit') limit = param_dict.get('limit')
if isintance(limit, basestring): if isinstance(limit, basestring):
limit = int(limit) limit = int(limit)
self.is_sample = self.total_size == limit self.is_sample = self.total_size == limit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment