Spaces:
Sleeping
Sleeping
Update fetch_prices.py
Browse files- fetch_prices.py +1 -1
fetch_prices.py
CHANGED
|
@@ -135,7 +135,7 @@ app = graph.compile()
|
|
| 135 |
# ================================
|
| 136 |
urls = ["https://mapia.pk/material-rates"]
|
| 137 |
REFRESH_INTERVAL_MINUTES = 0.5 # every 30 seconds
|
| 138 |
-
JSON_FILE = os.path.join(os.getcwd(), "material_rates_history.json"
|
| 139 |
# =======================================================
|
| 140 |
# ⚙️ Helper function to safely load JSON data
|
| 141 |
# This prevents the JSONDecodeError during the initial import/startup.
|
|
|
|
| 135 |
# ================================
|
| 136 |
urls = ["https://mapia.pk/material-rates"]
|
| 137 |
REFRESH_INTERVAL_MINUTES = 0.5 # every 30 seconds
|
| 138 |
+
JSON_FILE = os.path.join(os.getcwd(), "material_rates_history.json")
|
| 139 |
# =======================================================
|
| 140 |
# ⚙️ Helper function to safely load JSON data
|
| 141 |
# This prevents the JSONDecodeError during the initial import/startup.
|