|
@@ -62,8 +62,9 @@ if __name__ == '__main__':
|
|
|
# if type(row) == 'datetime.time':
|
|
# if type(row) == 'datetime.time':
|
|
|
# continue
|
|
# continue
|
|
|
try:
|
|
try:
|
|
|
|
|
+ date_in_db_row_formatted = row.race_date.strftime('%Y-%m-%d')
|
|
|
if (
|
|
if (
|
|
|
- scratching.date == row.race_date.strftime('%Y-%m-%d') and
|
|
|
|
|
|
|
+ scratching.date == date_in_db_row_formatted and
|
|
|
scratching.venue == row.venue and
|
|
scratching.venue == row.venue and
|
|
|
int(scratching.race) == int(row.race) and
|
|
int(scratching.race) == int(row.race) and
|
|
|
scratching.horse == row.horse
|
|
scratching.horse == row.horse
|