diff options
author | B. Stack <bgstack15@gmail.com> | 2022-02-11 18:54:56 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-02-11 18:54:56 -0500 |
commit | 6641c28ab2109277ed9e15559d3ecdc10cc5b807 (patch) | |
tree | 6b98ea7417647f5e8574df7a9b2b7d69813d5651 /pastebin.py | |
parent | fixed deps which means flask 1 (diff) | |
download | stackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.tar.gz stackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.tar.bz2 stackbin-6641c28ab2109277ed9e15559d3ecdc10cc5b807.zip |
Fix dep problem so flask>=2.0.0 now!
By just writing a new initdb command so we don't need manage.py
anymore.
Diffstat (limited to 'pastebin.py')
-rw-r--r-- | pastebin.py | 2 |
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) |