Explorar el Código

Fixing bug with getTopRepositories method

David Leonard hace 10 años
padre
commit
924ba6d8da
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      hackathon_starter/hackathon/scripts/github.py

+ 1 - 2
hackathon_starter/hackathon/scripts/github.py

@@ -102,7 +102,7 @@ def getTopContributedRepositories(repos, clientID, clientSecret):
 	jsonList = []
 	for repo in repos:
 		# print repo
-		req = requests.get('https://api.github.com/repos/DrkSephy/' + repo + '/stats/contributors' + '?' + clientID + clientSecret)
+		req = requests.get('https://api.github.com/repos/DrkSephy/' + repo + '/stats/contributors' + '?' + clientID + '&' + clientSecret)
 		jsonList.append(json.loads(req.content))
 
 	parsedData = []
@@ -177,4 +177,3 @@ def filterStarGazerCount(data):
 
 
 
-