Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Cleanup code documentation #87

Merged
merged 5 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions client/data/routines.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
"""Module for interacting with SQLite database

Last tested:
15-09 all functions tested by Gabe
"""
Module for interacting with SQLite database
"""

import sqlite3

from datetime import datetime
from typing import Any, NamedTuple, Optional, Iterator
from importlib import resources
from typing import Any, Iterator, NamedTuple, Optional

import numpy as np
from pydbml import PyDBML
Expand Down
3 changes: 3 additions & 0 deletions client/drivers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Code modules that interface directly with the Raspberry Pi and hardware devices.
"""
3 changes: 1 addition & 2 deletions client/drivers/camera_overlord.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ def handle_quit(signo, frame):
f.close()
except FileExistsError:
print("Snapshot already exists")

try:
f = open("/tmp/big_brother.jpg", "x")
f.close()
except FileExistsError:
print("Big Brother already exists")


while True:
for _ in range(2 * 3):
Expand Down
Loading