mirror of
https://github.com/beetbox/beets.git
synced 2026-02-23 07:44:38 +01:00
use _thread from six.moves
This commit is contained in:
parent
129e140015
commit
1f8fe0f9a6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue