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

Commit

Permalink
Merge branch 'main' into Obliteration
Browse files Browse the repository at this point in the history
  • Loading branch information
avg-lebesgue-enjoyer authored Oct 11, 2024
2 parents 7c16db8 + 53d17c2 commit e8abcc6
Show file tree
Hide file tree
Showing 7 changed files with 208 additions and 295 deletions.
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

0 comments on commit e8abcc6

Please sign in to comment.