mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix: lint
This commit is contained in:
parent
f22e7633b8
commit
5b5f5960a1
2 changed files with 4 additions and 3 deletions
|
|
@ -595,7 +595,8 @@ class History(Resource):
|
|||
break
|
||||
|
||||
if not color_found:
|
||||
rand = lambda: random.randint(0, 255)
|
||||
def rand():
|
||||
return random.randint(0, 255)
|
||||
red = rand()
|
||||
green = rand()
|
||||
blue = rand()
|
||||
|
|
|
|||
|
|
@ -277,8 +277,8 @@ class Parser(Doc):
|
|||
res = []
|
||||
for cli in os.listdir(self.clientconfdir):
|
||||
full_file = os.path.join(self.clientconfdir, cli)
|
||||
if (os.path.isfile(full_file) and not cli.startswith('.')
|
||||
and not cli.endswith('~')):
|
||||
if (os.path.isfile(full_file) and not cli.startswith('.') and
|
||||
not cli.endswith('~')):
|
||||
res.append({
|
||||
'name': cli,
|
||||
'value': full_file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue