Identify Show MWE
This commit is contained in:
@@ -350,7 +350,7 @@ class ShowDetailsScreen(Screen):
|
|||||||
showResult = self.__tc.queryShow(showDescriptor.getId())
|
showResult = self.__tc.queryShow(showDescriptor.getId())
|
||||||
firstAirDate = datetime.strptime(showResult['first_air_date'], '%Y-%m-%d')
|
firstAirDate = datetime.strptime(showResult['first_air_date'], '%Y-%m-%d')
|
||||||
|
|
||||||
self.query_one("#name_input", Input).value = showResult['name']
|
self.query_one("#name_input", Input).value = str(showResult['name'])
|
||||||
self.query_one("#year_input", Input).value = firstAirDate.year
|
self.query_one("#year_input", Input).value = str(firstAirDate.year)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user