Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewwSSS committed Jun 4, 2024
1 parent b9ab344 commit 40d7cdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import os

from app.car import Car
from app.customer import Customer
Expand All @@ -7,9 +8,11 @@

def shop_trip() -> None:
data = {}
with open("config.json", "r") as config:
directory = os.path.dirname(os.path.abspath(__file__))
with open(f"{directory}/config.json", "r") as config:
data = json.load(config)


# Initialize data from dict
fuel_price = data["FUEL_PRICE"]
customers = []
Expand Down

0 comments on commit 40d7cdc

Please sign in to comment.