Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrd committed Aug 13, 2023
1 parent 25062a4 commit 8e13b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dictdatabase/io_unsafe.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def write(db_name: str, data: dict) -> None:
################################################################################


def try_get_parial_file_handle_by_index(
def try_get_partial_file_handle_by_index(
indexer: indexing.Indexer,
db_name: str,
key: str,
Expand Down Expand Up @@ -187,7 +187,7 @@ def get_partial_file_handle(db_name: str, key: str) -> PartialFileHandle:

# Search for key in the index file
indexer = indexing.Indexer(db_name)
partial_handle, all_file_bytes = try_get_parial_file_handle_by_index(indexer, db_name, key)
partial_handle, all_file_bytes = try_get_partial_file_handle_by_index(indexer, db_name, key)
if partial_handle is not None:
return partial_handle

Expand Down

0 comments on commit 8e13b56

Please sign in to comment.