From 4bcc9f11533280d219bd4fbcd613cdb9e721b7e1 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Thu, 12 Nov 2020 19:04:25 +0100 Subject: [PATCH] switch off bandit error that are not pertinent --- scripts/planktoscope/uuidName.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/planktoscope/uuidName.py b/scripts/planktoscope/uuidName.py index ef21df1..9bfbdf3 100644 --- a/scripts/planktoscope/uuidName.py +++ b/scripts/planktoscope/uuidName.py @@ -48,7 +48,7 @@ def uuidMachineName(machine="", type=1): while len(x) > 0: tup = popHexPair(x) n = tup[0] - if count >= random.randint(2, 4): + if count >= random.randint(2, 4): # nosec name += " " count = 0 name += combos[n] @@ -86,7 +86,7 @@ def uuidName(): while len(x) > 0: tup = popHexPair(x) n = tup[0] - if count >= random.randint(2, 4): + if count >= random.randint(2, 4): # nosec name += " " count = 0 name += combos[n]