Fixed missing VLC playerPath return

This commit is contained in:
Etoh 2018-06-15 09:33:42 +01:00 committed by albertosottile
parent 3f2d28fc99
commit 2f0dd622e0

View File

@ -287,6 +287,7 @@ class VlcPlayer(BasePlayer):
return playerPath
elif os.path.isfile(playerPath + u"VLCPortable.exe"):
playerPath += u"VLCPortable.exe"
return playerPath
elif os.path.isfile(playerPath + u"\\VLCPortable.exe"):
playerPath += u"\\VLCPortable.exe"
return playerPath