From da6ec880bbe7121321191f2392f8b552374d200f Mon Sep 17 00:00:00 2001 From: et0h Date: Fri, 8 May 2020 21:40:35 +0100 Subject: [PATCH] Fix reference to isASCII --- syncplay/players/mpv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/players/mpv.py b/syncplay/players/mpv.py index 1469d1a..d7af9c3 100755 --- a/syncplay/players/mpv.py +++ b/syncplay/players/mpv.py @@ -10,7 +10,7 @@ import ast from syncplay import constants from syncplay.messages import getMessage from syncplay.utils import isURL, findResourcePath -from syncplay.utils import isMacOS, isWindows +from syncplay.utils import isMacOS, isWindows, isASCII from syncplay.players.basePlayer import BasePlayer @@ -522,7 +522,7 @@ class MpvPlayer(BasePlayer): call = [playerPath] if filePath: - if isWindows() and not utils.isASCII(filePath): + if isWindows() and not isASCII(filePath): self.__playerController.delayedFilePath = filePath filePath = None else: