thread module has been renamed to _thread in Python 3 (#64)
This commit is contained in:
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import time
|
import time
|
||||||
import shelve
|
import shelve
|
||||||
import thread
|
try:
|
||||||
|
import thread
|
||||||
|
except:
|
||||||
|
import _thread as thread
|
||||||
import logging
|
import logging
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user