From ed9fd2694c0d0ec71512dcc238a79b100e25411a Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Wed, 12 Sep 2012 06:16:18 +0000
Subject: [PATCH] Hard-coded application name (as per Flask docs)

---
 www.i2p2/i2p2www/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www.i2p2/i2p2www/__init__.py b/www.i2p2/i2p2www/__init__.py
index 6526416cc..60fa4f477 100644
--- a/www.i2p2/i2p2www/__init__.py
+++ b/www.i2p2/i2p2www/__init__.py
@@ -13,7 +13,7 @@ STATIC_DIR = os.path.join(os.path.dirname(__file__), 'static')
 BLOG_DIR = os.path.join(os.path.dirname(__file__), 'blog')
 MEETINGS_DIR = os.path.join(os.path.dirname(__file__), 'meetings')
 
-app = application = Flask(__name__, template_folder=TEMPLATE_DIR, static_url_path='/_static', static_folder=STATIC_DIR)
+app = application = Flask('i2p2www', template_folder=TEMPLATE_DIR, static_url_path='/_static', static_folder=STATIC_DIR)
 app.debug =  bool(os.environ.get('APP_DEBUG', 'False'))
 
 
-- 
GitLab