thread module has been renamed to _thread in Python 3 (#64)
This commit is contained in:
1 parent
39a1fc78d8
commit
7197b82ed6
1 file changed
+4
-1
+4
-1
@@ -1,7 +1,10 @@
|
||||
from __future__ import print_function
|
||||
import time
|
||||
import shelve
|
||||
import thread
|
||||
try:
|
||||
import thread
|
||||
except:
|
||||
import _thread as thread
|
||||
import logging
|
||||
import urllib
|
||||
|
||||
|
||||
Reference in new issue
Block a user