larxius commited on
Commit
07ff3dc
·
verified ·
1 Parent(s): 0d58169

Update backend_structured/__init__.py

Browse files
Files changed (1) hide show
  1. backend_structured/__init__.py +4 -1
backend_structured/__init__.py CHANGED
@@ -26,7 +26,10 @@ def create_app():
26
  cache.init_app(app)
27
 
28
  # Initialize Firebase Cloud Storage (for logos, PDFs, and file uploads)
29
- from utils.firebase_storage import init_firebase
 
 
 
30
  init_firebase()
31
 
32
  # Optional Celery config update
 
26
  cache.init_app(app)
27
 
28
  # Initialize Firebase Cloud Storage (for logos, PDFs, and file uploads)
29
+ try:
30
+ from backend.utils.firebase_storage import init_firebase
31
+ except ImportError:
32
+ from utils.firebase_storage import init_firebase
33
  init_firebase()
34
 
35
  # Optional Celery config update