nagasurendra commited on
Commit
a8a5881
·
verified ·
1 Parent(s): a6cbbf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,11 +1,15 @@
1
  import os
2
  import sys
3
 
4
- # Dynamically add the root project directory to Python's module search path
5
  project_root = os.path.dirname(os.path.abspath(__file__))
 
6
  if project_root not in sys.path:
7
  sys.path.insert(0, project_root)
8
 
 
 
 
9
  from routes.auth import login, sign_up
10
  from routes.menu import load_menu
11
  from routes.orders import add_to_order, view_order, place_order
 
1
  import os
2
  import sys
3
 
4
+ # Add the root directory to Python's module search path
5
  project_root = os.path.dirname(os.path.abspath(__file__))
6
+
7
  if project_root not in sys.path:
8
  sys.path.insert(0, project_root)
9
 
10
+ print("DEBUG: sys.path = ", sys.path) # Debugging: Print Python's module search path
11
+
12
+ # Import modules from routes and utils
13
  from routes.auth import login, sign_up
14
  from routes.menu import load_menu
15
  from routes.orders import add_to_order, view_order, place_order