From 6e0c2d6198869f73b6650148004d8ca32554e82c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Tue, 14 Apr 2015 10:16:45 +0000 Subject: [PATCH] fixup! Refactor getBridgesForIP() to use b.https.request.HTTPSBridgeRequest. --- lib/bridgedb/https/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bridgedb/https/request.py b/lib/bridgedb/https/request.py index bd6a1d47..a8f69207 100644 --- a/lib/bridgedb/https/request.py +++ b/lib/bridgedb/https/request.py @@ -101,7 +101,7 @@ def withoutBlockInCountry(self, request): for countryCode in countryCodes: try: - country = UNBLOCKED_PATTERN.match(countryCode) + country = UNBLOCKED_PATTERN.match(countryCode).group() except (TypeError, AttributeError): pass else: