Skip to content

Commit

Permalink
Fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrehn committed May 11, 2020
1 parent 0f8b814 commit fa83a6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ue4docker/infrastructure/WindowsUtils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from .DockerUtils import DockerUtils
from .PackageUtils import PackageUtils
from pkg_resources import parse_version
import os, platform

if platform.system() == 'Windows':
Expand Down Expand Up @@ -110,8 +112,9 @@ def isBlacklistedWindowsVersion(release=None):
Determines if the specified Windows release is one with bugs that make it unsuitable for use
(defaults to checking the host OS release if one is not specified)
'''
dockerVersion = parse_version(DockerUtils.version()['Version'])
release = WindowsUtils.getWindowsRelease() if release is None else release
return release in WindowsUtils._blacklistedReleases
return release in WindowsUtils._blacklistedReleases and dockerVersion < parse_version('19.03.6')

@staticmethod
def isEndOfLifeWindowsVersion(release=None):
Expand Down

0 comments on commit fa83a6e

Please sign in to comment.