mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-21 07:46:32 +08:00
flake8 fixes
This commit is contained in:
parent
7eec1696f8
commit
328ff762f8
|
@ -604,9 +604,7 @@ def create(self):
|
|||
value = _number_format(v[i][j], max_dec)
|
||||
bColor = self.level_color(v[i][j], bc[j])
|
||||
|
||||
graph += '<td' + \
|
||||
(self.__cssBARBG and ' style="' +
|
||||
self.__cssBARBG + '"' or '') + '>'
|
||||
graph += '<td' + (self.__cssBARBG and ' style="' + self.__cssBARBG + '"' or '') + '>'
|
||||
graph += self.create_vBar(
|
||||
value, percent, mPerc, mPerc_neg,
|
||||
max_neg, mul, valSpace, bColor, border, spacer, spacer_neg)
|
||||
|
@ -632,11 +630,9 @@ def create(self):
|
|||
graph += '<td style="' + self.__cssTITLE + '">' + titleLabel + '</td>'
|
||||
|
||||
for i in range(len(v)):
|
||||
label = (
|
||||
lcnt < len(r)) and r[lcnt].strip() or str(lcnt + 1)
|
||||
label = (lcnt < len(r)) and r[lcnt].strip() or str(lcnt + 1)
|
||||
colspan = len(v[i])
|
||||
graph += '<td style="' + self.__cssLABEL + '"' + \
|
||||
((colspan > 1) and ' colspan=' + str(colspan) or '') + '>'
|
||||
graph += '<td style="' + self.__cssLABEL + '"' + ((colspan > 1) and ' colspan=' + str(colspan) or '') + '>'
|
||||
graph += ' ' + label + ' </td>'
|
||||
if self.labelSpace:
|
||||
graph += '<td width=' + str(self.labelSpace) + '></td>'
|
||||
|
|
Loading…
Reference in a new issue