diff --git a/webapp2.py b/webapp2.py index 96dc905..d635da5 100755 --- a/webapp2.py +++ b/webapp2.py @@ -16,7 +16,10 @@ import os import re import sys -import threading +try: + import threading +except ImportError: + import dummy_threading as threading import urllib import urlparse from wsgiref import handlers