James McCool commited on
Commit
77d71e0
·
1 Parent(s): 9ba550c

Update database type for Showdown contests in app.py

Browse files

- Changed the database type identifier for Showdown contests from 'sd' to 'showdown' to improve clarity and consistency in the codebase.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def grab_contest_payout_info(db, sport, type, contest_date, contest_name, contes
61
  if type == 'Classic':
62
  db_type = 'reg'
63
  elif type == 'Showdown':
64
- db_type = 'sd'
65
  collection = db[f'{sport}_{db_type}_payout_info']
66
  cursor = collection.find()
67
 
 
61
  if type == 'Classic':
62
  db_type = 'reg'
63
  elif type == 'Showdown':
64
+ db_type = 'showdown'
65
  collection = db[f'{sport}_{db_type}_payout_info']
66
  cursor = collection.find()
67