Removed penis reference that was never supposed to be pushed to github. ._.
This commit is contained in:
parent
26d8cce1c5
commit
bf58e1a8a3
|
@ -40,7 +40,7 @@ def gen_password(types):
|
||||||
okay.append(x)
|
okay.append(x)
|
||||||
else:
|
else:
|
||||||
needs_def = 1
|
needs_def = 1
|
||||||
#defualts to lowercase alpha password if no arguments are found
|
#defaults to lowercase alpha password if no arguments are found
|
||||||
if needs_def == 1:
|
if needs_def == 1:
|
||||||
for x in string.ascii_lowercase:
|
for x in string.ascii_lowercase:
|
||||||
okay.append(x)
|
okay.append(x)
|
||||||
|
@ -55,8 +55,4 @@ def gen_password(types):
|
||||||
def password(inp, notice=None):
|
def password(inp, notice=None):
|
||||||
".password <legenth> [types] -- Generates a password of <legenth> (default 10). [types] can include 'alpha', 'no caps', 'numeric', 'symbols' or any combination of the types, eg. 'numbers symbols'"
|
".password <legenth> [types] -- Generates a password of <legenth> (default 10). [types] can include 'alpha', 'no caps', 'numeric', 'symbols' or any combination of the types, eg. 'numbers symbols'"
|
||||||
password = gen_password(inp)
|
password = gen_password(inp)
|
||||||
short = "error: input too short"
|
|
||||||
penis = ["penis", "mypenis", "dick", "mydick"]
|
|
||||||
if inp in penis:
|
|
||||||
return short
|
|
||||||
notice(password)
|
notice(password)
|
||||||
|
|
Reference in a new issue