From 1f8fe0f9a6e3569050e1ea1fe971de281ed05d87 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Mon, 20 Jun 2016 00:34:44 -0400 Subject: [PATCH] use _thread from six.moves --- beetsplug/bpd/gstplayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/bpd/gstplayer.py b/beetsplug/bpd/gstplayer.py index 326739a7a..7d29764cb 100644 --- a/beetsplug/bpd/gstplayer.py +++ b/beetsplug/bpd/gstplayer.py @@ -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