Pre-register our globals

This commit is contained in:
Matt Martz 2013-11-18 12:02:30 -06:00
parent ed2e7a98df
commit 93682d73ca
1 changed files with 4 additions and 0 deletions

View File

@ -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: