Fixed bug with max_result (#23507)

The config option 'max_result' was assigned to not existing 'max_result' variable, it should be assigned to 'maxResult'.
The current version causes an error when max_result option is used.
This commit is contained in:
Wojciech Mamak authored and Fabian Affolter committed 2019-04-28 21:01:33 +02:00
1 parent 41d9bd42af
commit b60c7ce479
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ class GoogleCalendarData:
params = dict(DEFAULT_GOOGLE_SEARCH_PARAMS)
params['calendarId'] = self.calendar_id
if self.max_results:
params['max_results'] = self.max_results
params['maxResults'] = self.max_results
if self.search:
params['q'] = self.search