summaryrefslogtreecommitdiff
path: root/tox
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2016-02-11 18:02:28 +0100
committerholger krekel <holger@merlinux.eu>2016-02-11 18:02:28 +0100
commit262863894f62e9d397f62963b956bfbe7bf6ce9e (patch)
tree913098fcd3d124e97ea942c8e0ec35309d451d92 /tox
parentdeaacda2f7691916ff9fb703536b012d6d546208 (diff)
downloadtox-262863894f62e9d397f62963b956bfbe7bf6ce9e.tar.gz
fix issue314: fix invocation of .py scripts on windows
Diffstat (limited to 'tox')
-rw-r--r--tox/session.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/session.py b/tox/session.py
index ffb52d6..93ef5d8 100644
--- a/tox/session.py
+++ b/tox/session.py
@@ -211,7 +211,7 @@ class Action(object):
if sys.platform == "win32":
ext = os.path.splitext(str(newargs[0]))[1].lower()
if ext == '.py' and self.venv:
- newargs = [str(self.envconfig.envpython)] + newargs
+ newargs = [str(self.venv.envconfig.envpython)] + newargs
return newargs