mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 13:01:07 -05:00
PassGen: syntactic cleanup
This commit is contained in:
parent
0cfe3fbb04
commit
cc43f5b473
@ -58,7 +58,7 @@ class PassGen(callbacks.Plugin):
|
||||
len = self.registryValue('defaultLen')
|
||||
elif len > maxlen:
|
||||
irc.error("The specified length ({}) is longer than the maximum "
|
||||
"allowed on this bot. Current maximum: {}".format(len, maxlen), \
|
||||
"allowed on this bot. Current maximum: {}".format(len, maxlen),
|
||||
Raise=True)
|
||||
rg = random.SystemRandom()
|
||||
letters = string.ascii_letters + string.digits + self.registryValue('symbols')
|
||||
|
Loading…
x
Reference in New Issue
Block a user