Skip to content

Commit

Permalink
Strip spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dmptrluke committed Apr 2, 2014
1 parent 5ca45fe commit 1062e69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 66 deletions.
64 changes: 0 additions & 64 deletions config.default

This file was deleted.

4 changes: 2 additions & 2 deletions plugins/recipe.py
Expand Up @@ -76,7 +76,7 @@ def recipe(inp):
except ParseError as e:
return "Could not parse recipe: {}".format(e)

name = data["name"]
name = data["name"].strip()
return u"Try eating \x02{}!\x02 - {}".format(name, web.try_isgd(url))


Expand All @@ -94,7 +94,7 @@ def wtfisfordinner(inp):
except ParseError as e:
return "Could not parse recipe: {}".format(e)

name = data["name"].upper()
name = data["name"].strip().upper()
text = random.choice(phrases).format(name)

if censor:
Expand Down

0 comments on commit 1062e69

Please sign in to comment.