|
@@ -162,10 +162,10 @@ if __name__ == '__main__':
|
|
|
scratching.race, scratching.horse_no, scratching.horse_display_name))
|
|
scratching.race, scratching.horse_no, scratching.horse_display_name))
|
|
|
"""
|
|
"""
|
|
|
# pprint(full_scratchings)
|
|
# pprint(full_scratchings)
|
|
|
- print('len(full_scratchings): {}'.format(len(full_scratchings)))
|
|
|
|
|
|
|
+ # print('len(full_scratchings): {}'.format(len(full_scratchings)))
|
|
|
|
|
|
|
|
scratchings_to_be_broadcast = model.store_scratched_horses(db, full_scratchings)
|
|
scratchings_to_be_broadcast = model.store_scratched_horses(db, full_scratchings)
|
|
|
- print('len(scratchings_to_be_broadcast): {}'.format(len(scratchings_to_be_broadcast)))
|
|
|
|
|
|
|
+ # print('len(scratchings_to_be_broadcast): {}'.format(len(scratchings_to_be_broadcast)))
|
|
|
model.send_messages(scratchings_to_be_broadcast, 'RA')
|
|
model.send_messages(scratchings_to_be_broadcast, 'RA')
|
|
|
|
|
|
|
|
db.close()
|
|
db.close()
|