Compare commits
2 Commits
1b1ded5f36
...
master
Author | SHA1 | Date | |
---|---|---|---|
34634c1c14 | |||
ca00892fb5
|
@@ -77,7 +77,7 @@ class AnimalShelter(object):
|
||||
return dataList # Return the list
|
||||
except Exception as e:
|
||||
print(f'Exception: {e}') # Exception handling
|
||||
return False # Failed operation, so return false
|
||||
return [] # Return empty list
|
||||
# Update
|
||||
def update(self, **kwargs):
|
||||
"""
|
||||
@@ -116,4 +116,4 @@ class AnimalShelter(object):
|
||||
return True # Operation was successful, so return true
|
||||
except Exception as e:
|
||||
print(f'Exception: {e}') # Exception handling
|
||||
return False # Failed operation, so return false
|
||||
return False # Failed operation, so return false
|
||||
|
Reference in New Issue
Block a user