mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-01-07 12:30:06 +01:00
Pre-register our globals
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
|
||||
__version__ = '0.2.2'
|
||||
|
||||
# Some global variables we use
|
||||
source = None
|
||||
shutdown_event = None
|
||||
|
||||
try:
|
||||
from urllib2 import urlopen, Request, HTTPError, URLError
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user