Format everything to pep8 guidelines
This commit is contained in:
parent
cd4b65de3d
commit
99fe34a0b1
33 changed files with 142 additions and 107 deletions
|
@ -6,7 +6,7 @@ from util import hook
|
|||
|
||||
@hook.command
|
||||
def choose(inp):
|
||||
"""choose <choice1>, [choice2], [choice3], [choice4], ... --
|
||||
"""choose <choice1>, [choice2], [choice3], [choice4], ... --
|
||||
Randomly picks one of the given choices."""
|
||||
|
||||
c = re.findall(r'([^,]+)', inp)
|
||||
|
@ -15,4 +15,4 @@ def choose(inp):
|
|||
if len(c) == 1:
|
||||
return 'The decision is up to you!'
|
||||
|
||||
return random.choice(c).strip()
|
||||
return random.choice(c).strip()
|
||||
|
|
Reference in a new issue