Fix reference to isASCII

This commit is contained in:
et0h 2020-05-08 21:40:35 +01:00
parent 9bfe65ecf1
commit da6ec880bb

View File

@ -10,7 +10,7 @@ import ast
from syncplay import constants from syncplay import constants
from syncplay.messages import getMessage from syncplay.messages import getMessage
from syncplay.utils import isURL, findResourcePath 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 from syncplay.players.basePlayer import BasePlayer
@ -522,7 +522,7 @@ class MpvPlayer(BasePlayer):
call = [playerPath] call = [playerPath]
if filePath: if filePath:
if isWindows() and not utils.isASCII(filePath): if isWindows() and not isASCII(filePath):
self.__playerController.delayedFilePath = filePath self.__playerController.delayedFilePath = filePath
filePath = None filePath = None
else: else: