Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,6 @@ import logging
|
|
11 |
# ロギング設定をDEBUGに
|
12 |
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s [%(levelname)s] %(message)s")
|
13 |
|
14 |
-
# FlaskのロガーもDEBUGに
|
15 |
-
app.logger.setLevel(logging.DEBUG)
|
16 |
-
|
17 |
# 定数
|
18 |
REPO_URL = "https://github.com/SharkPool-SP/SharkPools-Extensions.git"
|
19 |
REPO_DIR = "SharkPools-Extensions"
|
@@ -25,6 +22,9 @@ app = Flask(__name__,
|
|
25 |
static_folder="static",
|
26 |
static_url_path="")
|
27 |
|
|
|
|
|
|
|
28 |
@app.route("/")
|
29 |
def index():
|
30 |
return render_template("index.html")
|
|
|
11 |
# ロギング設定をDEBUGに
|
12 |
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s [%(levelname)s] %(message)s")
|
13 |
|
|
|
|
|
|
|
14 |
# 定数
|
15 |
REPO_URL = "https://github.com/SharkPool-SP/SharkPools-Extensions.git"
|
16 |
REPO_DIR = "SharkPools-Extensions"
|
|
|
22 |
static_folder="static",
|
23 |
static_url_path="")
|
24 |
|
25 |
+
# FlaskのロガーもDEBUGに
|
26 |
+
app.logger.setLevel(logging.DEBUG)
|
27 |
+
|
28 |
@app.route("/")
|
29 |
def index():
|
30 |
return render_template("index.html")
|