Update db.py

This commit is contained in:
Ryan Jalynski
2023-06-16 23:36:08 -04:00
committed by GitHub
parent aa49ca129b
commit 1d0a3ff627

View File

@@ -15,7 +15,6 @@ class DB:
return f.read()
def __setitem__(self, key, val):
# Ensure the directory exists
os.makedirs(self.path, exist_ok=True)
with open(self.path / key, 'w', encoding='utf-8') as f: