diff --git a/webarchiv.py b/webarchiv.py index fbbc45b9be35ffb393014d84ff8dbed9e85c3f8d..5398b03221ec9ad7d2ec83a0267adbe9b2724f79 100644 --- a/webarchiv.py +++ b/webarchiv.py @@ -187,7 +187,7 @@ class WebarchivSession: :param response: String to search for :return: response """ - requestid = resp.json()['requestid']; + requestid = resp.json()['requestid'] type = resp.json()['type'] if type == 1: r = self._get(op='/search/status/fulltext', params={'requestid': requestid}) @@ -260,7 +260,7 @@ class WebarchivSession: 'accept': 'application/ld+json' } ) - return r; + return r if __name__ == '__main__': # noinspection SpellCheckingInspection