Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

create file if not there

roryclearb1001e3c8063
diff --git a/test/test_db.py b/test/test_db.py
index 37e9a3d..ec8455c 100644
--- a/test/test_db.py
+++ b/test/test_db.py
@@ -1,6 +1,8 @@
from utils.db import db
+import os
-if __name__ == "__main__":
+if __name__ == "__main__":
+ #os.makedirs("data", exist_ok=True); open("data/cc_cache.db", "a").close()
cache_db = db()
x = cache_db.run_get("links", None)
assert x == {}