Skip to content

Commit 9230955

Browse files
committed
v2.0.2 bug fix
1 parent cac021b commit 9230955

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

bot/telegram_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def log_transaction(user_data, update):
482482

483483
msg = ""
484484
# start new date if date elapsed
485-
if day_tracker < day or day == 1:
485+
if day_tracker != day:
486486
msg = f"New entry for {day} {month}"
487487
prev_month = month
488488
if day == 1:

bot/updates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def send_new_feature_message(new_feature_message):
1010
users = fb.get_all_user_id()
1111
for user_id in users:
1212
bot.send_message(chat_id=user_id, text=new_feature_message)
13+
print("Message has been pushed to all users")
1314

1415

1516
def update_gsheet():

release_notes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,15 @@
3838
- Move services account to environment variable
3939
- Please read the new README for developer
4040

41-
4241
## Version 2.0.1 - Date 1 Jun 2023
4342
### Bug Fix 🛠️
4443
- Fix month abbreviation
4544
- Fix updating of previous month
4645

4746
### For Developer 🧑‍💻
4847
- Added a new updates.py file to push updates to all users
49-
- To run updates, call functions in push_updates.py
48+
- To run updates, call functions in push_updates.py
49+
50+
## Version 2.0.2 - Date 1 Jun 2023
51+
### Bug Fix 🛠️
52+
- Day 1 sum creation bug

0 commit comments

Comments
 (0)