Update app.py
Browse files
app.py
CHANGED
|
@@ -35,11 +35,11 @@ def clone_and_setup_repo():
|
|
| 35 |
shutil.move(index_html_path, '.')
|
| 36 |
|
| 37 |
# 静的ファイルをstaticディレクトリに移動
|
| 38 |
-
if not os.path.exists('static'):
|
| 39 |
-
os.mkdir('static')
|
| 40 |
-
for item in os.listdir(temp_dir):
|
| 41 |
-
if item != 'index.html':
|
| 42 |
-
shutil.move(os.path.join(temp_dir, item), os.path.join('static', item))
|
| 43 |
|
| 44 |
# クローンとセットアップを実行
|
| 45 |
clone_and_setup_repo()
|
|
|
|
| 35 |
shutil.move(index_html_path, '.')
|
| 36 |
|
| 37 |
# 静的ファイルをstaticディレクトリに移動
|
| 38 |
+
# if not os.path.exists('static'):
|
| 39 |
+
# os.mkdir('static')
|
| 40 |
+
# for item in os.listdir(temp_dir):
|
| 41 |
+
# if item != 'index.html':
|
| 42 |
+
# shutil.move(os.path.join(temp_dir, item), os.path.join('static', item))
|
| 43 |
|
| 44 |
# クローンとセットアップを実行
|
| 45 |
clone_and_setup_repo()
|