| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,7 +77,7 @@ def login(self): | |||
| 77 | 77 | ||
| 78 | 78 | :raises: :py:class:`webuntis.errors.BadCredentialsError` -- | |
| 79 | 79 | Username/Password missing or invalid. | |
| 80 | - :raises: :py:class:`webuntis.errors.AuthError` -- Didn't recieve a | ||
| 80 | + :raises: :py:class:`webuntis.errors.AuthError` -- Didn't receive a | ||
| 81 | 81 | session ID for unknown reasons. | |
| 82 | 82 | """ | |
| 83 | 83 | ||
@@ -346,7 +346,7 @@ def timetable_with_absences(self, start, end): | |||
| 346 | 346 | :rtype: :py:class:`webuntis.objects.AbsencesList` | |
| 347 | 347 | """ | |
| 348 | 348 | ||
| 349 | - parameters = { u'options': self._create_date_param(end, start) } | ||
| 349 | + parameters = {u'options': self._create_date_param(end, start)} | ||
| 350 | 350 | ||
| 351 | 351 | return objects.AbsencesList, 'getTimetableWithAbsences', parameters | |
| 352 | 352 | ||
@@ -357,9 +357,9 @@ def _create_date_param(end, start, **kwargs): | |||
| 357 | 357 | if json_start > json_end: | |
| 358 | 358 | raise ValueError('Start can\'t be later than the end.') | |
| 359 | 359 | parameters = dict({ | |
| 360 | - 'startDate': json_start, | ||
| 361 | - 'endDate': json_end, | ||
| 362 | - }, **kwargs) | ||
| 360 | + 'startDate': json_start, | ||
| 361 | + 'endDate': json_end, | ||
| 362 | + }, **kwargs) | ||
| 363 | 363 | return parameters | |
| 364 | 364 | ||
| 365 | 365 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | 11 | def log(level, message, *args, **kwargs): | |
| 12 | 12 | """Log a message to the logger used. Written inside a function so it can be | |
| 13 | - overridden if really neccessary.""" | ||
| 13 | + overridden if really necessary.""" | ||
| 14 | 14 | global _logger | |
| 15 | 15 | if _logger is None: | |
| 16 | 16 | import logging | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,7 @@ def _parse_result(request_body, result_body): | |||
| 111 | 111 | ID validation. | |
| 112 | 112 | ||
| 113 | 113 | :param request_body: The not-yet-encoded body of the request sent. | |
| 114 | - :param result_body: The decoded body of the result recieved. | ||
| 114 | + :param result_body: The decoded body of the result received. | ||
| 115 | 115 | """ | |
| 116 | 116 | ||
| 117 | 117 | if request_body[u'id'] != result_body[u'id']: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments