Spaces:
Sleeping
Sleeping
Update utils/database_handler.py
Browse files
utils/database_handler.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
|
| 4 |
# Set a writable path for the Excel file within the app directory
|
| 5 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # Current script directory
|
| 6 |
-
CUSTOMERS_FILE = os.path.join(BASE_DIR, "..workspace/database/
|
| 7 |
|
| 8 |
# Ensure the database directory exists
|
| 9 |
if not os.path.exists(os.path.dirname(CUSTOMERS_FILE)):
|
|
|
|
| 3 |
|
| 4 |
# Set a writable path for the Excel file within the app directory
|
| 5 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # Current script directory
|
| 6 |
+
CUSTOMERS_FILE = os.path.join(BASE_DIR, "..workspace/database/workspace_database_Book1.xlsx")
|
| 7 |
|
| 8 |
# Ensure the database directory exists
|
| 9 |
if not os.path.exists(os.path.dirname(CUSTOMERS_FILE)):
|