Fix typo in wineboot check

This commit is contained in:
Mathieu Comandon 2017-05-30 15:42:16 -07:00
parent eeef02df67
commit 2a7f48108c

View file

@ -111,7 +111,7 @@ def create_prefix(prefix, wine_path=None, arch='win32'):
wine_path = wine().get_executable()
wineboot_path = os.path.join(os.path.dirname(wine_path), 'wineboot')
if not os.path.exist(wineboot_path):
if not system.path_exists(wineboot_path):
logger.error("No wineboot executable found in %s, your wine installation is most likely broken", wine_path)
return