From 8e13b56a11a8625ceec2e8ccfe50756e70e4ba63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Kro=CC=88ker?= Date: Sun, 13 Aug 2023 22:59:11 +0200 Subject: [PATCH] fix typo --- dictdatabase/io_unsafe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dictdatabase/io_unsafe.py b/dictdatabase/io_unsafe.py index cb1e54c..ddedab2 100644 --- a/dictdatabase/io_unsafe.py +++ b/dictdatabase/io_unsafe.py @@ -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, @@ -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