Skip to content

Commit

Permalink
feat: cities dump created.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmelihh committed Dec 7, 2024
1 parent 5e35471 commit 615a10e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/recommendation_engine/app/tasks/restaurant.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class RestaurantTask(Task):
__name__ = "RestaurantTask"

def run(self, *args, **kwargs):
cities = json.load(open(f"{os.getcwd()}/static/cities.json", "r"))
cities = json.load(
open(f"{os.getcwd()}/static/{os.getenv('CITIES_JSON')}", "r")
)

for city in cities:
for provider in Providers:
Expand Down

0 comments on commit 615a10e

Please sign in to comment.