aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpasteme.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index d0bd2fe..09b3351 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -21,7 +21,8 @@ def route_root():
@bottle.route('/', method='POST')
def route_paste_post():
- content = bottle.request.forms.get('content')
+ content = bottle.request.forms.getunicode('content', '')
+
try:
pid = identigen.generate(content)
except AttributeError as e: