diff options
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r-- | demoscript/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py index 6a287452293..51454510ff7 100644 --- a/demoscript/Util.py +++ b/demoscript/Util.py @@ -552,7 +552,7 @@ def spawn(command, cwd = None, mapping = None): if cwd != None: desc = os.path.join(cwd, desc) if isWin32(): - if not desc.endswith(".exe"): + if desc.find(".") == -1: desc += ".exe" command = desc + " " + args |