nagasurendra commited on
Commit
477f0b0
·
verified ·
1 Parent(s): 3a4f8c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import os
2
  import sys
3
 
4
- # Add the current working directory to Python's module search path
5
- sys.path.append(os.path.dirname(os.path.abspath(__file__)))
 
 
6
 
7
  from routes.auth import login, sign_up
8
  from routes.menu import load_menu
 
1
  import os
2
  import sys
3
 
4
+ # Add the project directory to the Python path
5
+ current_dir = os.path.dirname(os.path.abspath(__file__))
6
+ if current_dir not in sys.path:
7
+ sys.path.append(current_dir)
8
 
9
  from routes.auth import login, sign_up
10
  from routes.menu import load_menu