Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,8 @@ dataset_iter = iter(dataset)
|
|
12 |
|
13 |
# Read the last entry from the dataset
|
14 |
try:
|
15 |
-
last_entry = next(dataset_iter)
|
16 |
except StopIteration:
|
17 |
-
# Handle empty dataset case, perhaps initialize with default values
|
18 |
last_entry = {'standup_taker': 'Yiannis', 'date': '2023-01-01'}
|
19 |
|
20 |
# Initialize login state
|
|
|
12 |
|
13 |
# Read the last entry from the dataset
|
14 |
try:
|
15 |
+
last_entry = next(dataset_iter) # Use dataset_iter here
|
16 |
except StopIteration:
|
|
|
17 |
last_entry = {'standup_taker': 'Yiannis', 'date': '2023-01-01'}
|
18 |
|
19 |
# Initialize login state
|