Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
moha-tah committed Jul 21, 2024
1 parent 701f2b3 commit 19e4b73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/mawaqit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ async def async_update_next_salat_sensor(self, *_):
prayers[index]
]

else: # We retrieve the next Fajr (more calcualtions).
else: # We retrieve the next Fajr (more calculations).
current_dir = os.path.dirname(os.path.realpath(__file__))
f = open("{dir}/data/pray_time.txt".format(dir=current_dir), "r")
data = json.load(f)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mawaqit/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

CONF_CALC_METHOD = "calculation_method"

CALC_METHODS = ["nearest", "farest"]
CALC_METHODS = ["nearest", "farthest"]
DEFAULT_CALC_METHOD = "nearest"

DATA_UPDATED = "Mawaqit_prayer_data_updated"
Expand Down

0 comments on commit 19e4b73

Please sign in to comment.