aboutsummaryrefslogtreecommitdiff
path: root/pastebin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pastebin.py')
-rw-r--r--pastebin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pastebin.py b/pastebin.py
index c2ed89d..9807b01 100644
--- a/pastebin.py
+++ b/pastebin.py
@@ -75,7 +75,7 @@ def show_paste(paste_id):
try:
sign = request.args.get('s', '')
assert str(paste.id) == \
- Signer(app.secret_key, salt='jackson').unsign(sign)
+ Signer(app.secret_key, salt='jackson').unsign(sign).decode("utf-8")
except:
abort(403)
return render_template('show_paste.html', paste=paste)
bgstack15