fix: Add country field to venue creation in import script
This commit is contained in:
parent
713f4cea55
commit
63f0d7609f
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ def import_shows_and_setlists():
|
||||||
name=venue_name,
|
name=venue_name,
|
||||||
city=city,
|
city=city,
|
||||||
state=state,
|
state=state,
|
||||||
|
country=api_show.get("country", "USA"), # Get country from API
|
||||||
vertical_id=1 # Goose vertical
|
vertical_id=1 # Goose vertical
|
||||||
)
|
)
|
||||||
session.add(venue)
|
session.add(venue)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue