Add return to add_break for db_helper.py

This commit is contained in:
2025-10-17 10:41:36 -06:00
parent 26276b0989
commit 5b58c6e8ea

View File

@@ -147,6 +147,7 @@ class DBHelper():
is_range = 0
cursor.execute("INSERT INTO breaks (created_user, is_range, open_range, close_range) VALUES (%s, %s, %s, %s)", (user_id, is_range, break_start, break_end))
return
def remove_callout(self, user_id: int, callout: datetime.date) -> None:
@@ -181,7 +182,7 @@ class DBHelper():
self.__CONN.commit()
return
def formatted_list_of_callouts(self, callouts: list) -> str:
"""Format the python list of callouts.