Fix thread import for py3

This commit is contained in:
Bastian Kleineidam 2014-03-04 20:50:34 +01:00
parent cca71837b4
commit 3108c9124a

View file

@ -1,8 +1,11 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2014 Bastian Kleineidam
import threading
import thread
import os
import threading
try:
import _thread as thread
except ImportError:
import thread
try:
from Queue import Queue, Empty
except ImportError: