|
@@ -61,7 +61,7 @@ for d in data['data']:
|
|
|
horseDisplayName, False)
|
|
horseDisplayName, False)
|
|
|
scratchings.append(data_without_flag)
|
|
scratchings.append(data_without_flag)
|
|
|
if arrow.utcnow().minute % 20 == 0:
|
|
if arrow.utcnow().minute % 20 == 0:
|
|
|
- pprint(full_scratchings)
|
|
|
|
|
|
|
+ pprint(scratchings)
|
|
|
db = database.db
|
|
db = database.db
|
|
|
scratchings_to_be_broadcast = model.store_scratched_horses(db, scratchings)
|
|
scratchings_to_be_broadcast = model.store_scratched_horses(db, 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)))
|