From 328ff762f8478dbe6daa2137d5e03fdbdc079667 Mon Sep 17 00:00:00 2001 From: Jay Townsend Date: Sun, 1 Sep 2019 02:37:28 +0100 Subject: [PATCH] flake8 fixes --- theHarvester/lib/graphs.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/theHarvester/lib/graphs.py b/theHarvester/lib/graphs.py index f213219c..1ed1d59f 100644 --- a/theHarvester/lib/graphs.py +++ b/theHarvester/lib/graphs.py @@ -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 += '' + graph += '' 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 += '' + titleLabel + '' 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 += ' 1) and ' colspan=' + str(colspan) or '') + '>' + graph += ' 1) and ' colspan=' + str(colspan) or '') + '>' graph += ' ' + label + ' ' if self.labelSpace: graph += ''