Skip to content

Commit

Permalink
fix of #6: Kiev replaced of Kyiv
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Mar 27, 2024
1 parent e02db3b commit 68b0b9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env.exmple
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ TOKEN=<TOKEN>
CHAT_ID=<CHAT_ID>
# URL of API with compatiable format with http://alerts.net.ua/explosives_statuses_v2.json, optional
# URL=http://alerts.net.ua/explosives_statuses_v2.json
# Timezone, optional, default Europe/Kiev
# TIMEZONE=Europe/Kiev
# Timezone, optional, default Europe/Kyiv
# TIMEZONE=Europe/Kyiv
# List of regions to filter, don't use spaces, single line, optional
# REGION_LIST="Одеська область","Київська область","Житомирська область","м. Київ","Львівська область"
# Full list of regions:
Expand Down
4 changes: 2 additions & 2 deletions bot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
REGION_LIST = [region.strip('"') for region in REGION_LIST]

if not TIMEZONE:
logger.warning("TIMEZONE is not defined in .env file, using a default timezone Europe/Kiev")
TIMEZONE = "Europe/Kiev"
logger.warning("TIMEZONE is not defined in .env file, using a default timezone Europe/Kyiv")
TIMEZONE = "Europe/Kyiv"

logger.info(f"Bot started with CHAT_ID: {CHAT_ID}")
logger.info(f"Following regions will be monitored: {REGION_LIST}")
Expand Down

1 comment on commit 68b0b9a

@yurnov
Copy link
Owner Author

@yurnov yurnov commented on 68b0b9a Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be "fix of #6: Kiev replaced with Kyiv" in commit msg

Please sign in to comment.