Compare commits
No commits in common. "4d0b993aecc9b468353031776bc87b2f3bb07a43" and "bde91ca9369002d6ec335146349693705c6af70e" have entirely different histories.
4d0b993aec
...
bde91ca936
|
@ -70,6 +70,3 @@ excluded_domain_name = []
|
|||
|
||||
# Domains that set no-referer as Referer-Policy
|
||||
no_referrer_domains = []
|
||||
|
||||
# Domains used by robots
|
||||
robot_domains = []
|
||||
|
|
|
@ -207,7 +207,7 @@ class DisplayHTMLBlockTable(DisplayHTMLBlock):
|
|||
self.insertCol(column_insertion, self.iwla._('Ratio'), u'iwla_hit')
|
||||
for (index, r) in enumerate(self.rows):
|
||||
val = r[column] and int(r[column]) or 0
|
||||
self.setCellValue(index, column_insertion, '%.1f%%' % (total and float(val*100)/float(total) or 0))
|
||||
self.setCellValue(index, column_insertion, '%.1f%%' % (float(val*100)/float(total)))
|
||||
|
||||
def _filter(self, function, column, args):
|
||||
target_col = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user