From e9148ddb49a982033eee575d19bbc741e0616b48 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 2 Oct 2018 07:33:13 +1000 Subject: [PATCH] remove unused variable --- onionshare/web/web.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/onionshare/web/web.py b/onionshare/web/web.py index 2885e87f..45d021c0 100644 --- a/onionshare/web/web.py +++ b/onionshare/web/web.py @@ -66,8 +66,6 @@ class Web(object): # Use a custom Request class to track upload progess self.app.request_class = ReceiveModeRequest - self.can_upload = True - # Starting in Flask 0.11, render_template_string autoescapes template variables # by default. To prevent content injection through template variables in # earlier versions of Flask, we force autoescaping in the Jinja2 template