Add return to add_break for db_helper.py
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user