mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
Pre-register our globals
This commit is contained in:
parent
ed2e7a98df
commit
93682d73ca
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue