[fix] Small bandit changes (#3241)
This commit is contained in:
@@ -390,7 +390,7 @@ class NWCConnection:
|
||||
n = max_length - len(subid)
|
||||
if n > 0:
|
||||
for _ in range(n):
|
||||
subid += chars[random.randint(0, len(chars) - 1)]
|
||||
subid += chars[random.randint(0, len(chars) - 1)] # noqa: S311
|
||||
return subid
|
||||
|
||||
async def _close_subscription_by_subid(
|
||||
|
||||
Reference in New Issue
Block a user