Skip to content

Commit

Permalink
Fix for infinite loop in PIO API #313
Browse files Browse the repository at this point in the history
  • Loading branch information
gepd committed Jul 11, 2020
1 parent 2bd1510 commit ad0c1c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (2, 2, 1)
VERSION = (2, 2, 2)
__version__ = ".".join([str(s) for s in VERSION[:3]])
if(len(VERSION) > 3):
__version__ += VERSION[3]
Expand Down
2 changes: 1 addition & 1 deletion libraries/libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def download_list(self, keyword):
request['query'] = keyword
query = urlencode(request)

url = 'http://api.platformio.org/lib/search?{0}*'.format(query)
url = 'http://api.platformio.org/lib/search?{0}'.format(query)
req = Request(url, headers=get_headers())

response = urlopen(req)
Expand Down

0 comments on commit ad0c1c3

Please sign in to comment.