From 6641c28ab2109277ed9e15559d3ecdc10cc5b807 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 11 Feb 2022 18:54:56 -0500 Subject: Fix dep problem so flask>=2.0.0 now! By just writing a new initdb command so we don't need manage.py anymore. --- pastebin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pastebin.py') 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) -- cgit