Skip to content

Commit 842fbf8

Browse files
author
Carwyn Pelley
committed
BUG: Fixed github stats retrieval
Currently urllib is used to retrieve a json file from Github, however Github url used is not static url, urllib2 required to retrieve information from Github.
1 parent 7bc19c5 commit 842fbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/github_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from datetime import datetime, timedelta
1515
from subprocess import check_output
16-
from urllib import urlopen
16+
from urllib2 import urlopen
1717

1818
#-----------------------------------------------------------------------------
1919
# Globals

0 commit comments

Comments
 (0)