use _thread from six.moves

This commit is contained in:
Johnny Robeson 2016-06-20 00:34:44 -04:00
parent 129e140015
commit 1f8fe0f9a6

View file

@ -21,7 +21,7 @@ from __future__ import division, absolute_import, print_function
import sys
import time
import thread
from six.moves import _thread
import os
import copy
import urllib
@ -164,7 +164,7 @@ class GstPlayer(object):
loop = GLib.MainLoop()
loop.run()
thread.start_new_thread(start, ())
_thread.start_new_thread(start, ())
def time(self):
"""Returns a tuple containing (position, length) where both