167AliRaza commited on
Commit
1d61364
·
verified ·
1 Parent(s): 777bcc3

Update fetch_prices.py

Browse files
Files changed (1) hide show
  1. 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.