|
|
@@ -82,14 +82,14 @@ if __name__ == '__main__':
|
|
|
"""
|
|
|
cursor.execute(query, (scratching.date, scratching.venue, scratching.race))
|
|
|
db_data = cursor.fetchone()
|
|
|
- message = 'venue = {} {} {}-{} | race = {} {} | {} UTC | horse = {}'.format(day_abbr,
|
|
|
- scratching.date,
|
|
|
- scratching.state,
|
|
|
- scratching.venue,
|
|
|
- scratching.race,
|
|
|
- db_data.start_time,
|
|
|
- db_data.utctime,
|
|
|
- scratching.horse)
|
|
|
+ message = 'venue = {} {} {}-{} | race = {} starts at {} | {} UTC | horse = {}'.format(day_abbr,
|
|
|
+ scratching.date,
|
|
|
+ scratching.state,
|
|
|
+ scratching.venue,
|
|
|
+ scratching.race,
|
|
|
+ db_data.start_time,
|
|
|
+ db_data.utctime,
|
|
|
+ scratching.horse)
|
|
|
print(message)
|
|
|
if broadcast:
|
|
|
view.broadcast(message)
|