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