Zienab commited on
Commit
791944e
1 Parent(s): 506ab04

Delete app/__init__.py

Browse files
Files changed (1) hide show
  1. app/__init__.py +0 -15
app/__init__.py DELETED
@@ -1,15 +0,0 @@
1
- from flask import Flask
2
- from app.config import Config
3
- import os
4
-
5
- def create_app():
6
- app = Flask(__name__)
7
- app.config.from_object(Config)
8
-
9
- # إنشاء مجلد للملفات المرفوعة
10
- os.makedirs(os.path.join(app.instance_path, 'uploads'), exist_ok=True)
11
-
12
- from app.routes import main
13
- app.register_blueprint(main)
14
-
15
- return app