From 359f53d3c6ffa5dfc529cb5e54faeb33e98e4d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Kr=C3=B6ker?= Date: Sun, 6 Nov 2022 18:59:08 +0100 Subject: [PATCH] remove prints --- dictdatabase/io_unsafe.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dictdatabase/io_unsafe.py b/dictdatabase/io_unsafe.py index c9bc6bc..2ebdbde 100644 --- a/dictdatabase/io_unsafe.py +++ b/dictdatabase/io_unsafe.py @@ -68,10 +68,8 @@ def read_index_file(db_name: str): path = f"{config.storage_directory}/.ddb/{db_name.replace('/', '___')}.index" Path(path).parent.mkdir(parents=True, exist_ok=True) if not os.path.exists(path): - print("Index file does not exist") return {} with open(path, "rb") as f: - print("Index file exists") return orjson.loads(f.read())