fix: fixed #118, weird threading issue

This commit is contained in:
Terry Geng
2020-04-02 18:27:15 +08:00
parent eeaa09b564
commit d32d30b795
4 changed files with 7 additions and 9 deletions

View File

@ -202,7 +202,7 @@ class BasePlaylist(list):
self.from_list(music_wrappers, current_index)
def _debug_print(self):
print("===== Playlist(%d)=====" % self.current_index)
print("===== Playlist(%d) =====" % self.current_index)
for index, item_wrapper in enumerate(self):
if index == self.current_index:
print("-> %d %s" % (index, item_wrapper.format_debug_string()))