From 3af48a1ef0bb233f9ae2edccb2e626aed54c1516 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 20 May 2014 21:34:02 +0000 Subject: [PATCH] escaped braces for .format() to work --- onionshare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare.py b/onionshare.py index 15b98ce9..73735151 100755 --- a/onionshare.py +++ b/onionshare.py @@ -32,7 +32,7 @@ def requires_auth(f): @requires_auth def index(): global filename, filesize, filehash - return "OnionShare

{0}

File size: {1} bytes
SHA1 checksum: {2}

".format(os.path.basename(filename), filesize, filehash) + return "OnionShare

{0}

SHA1 checksum: {1}
File size: {2} bytes

".format(os.path.basename(filename), filehash, filesize) @app.route("/download") @requires_auth