You need to sign in or sign up before continuing.
Commit c84f71b7 by Cauê Baasch de Souza Committed by Sébastien Eustace

Fix string being passed instead of Path in utils.env.Env.get (#509)

parent a787a95f
...@@ -114,7 +114,7 @@ class Env(object): ...@@ -114,7 +114,7 @@ class Env(object):
prefix = Path(os.environ["VIRTUAL_ENV"]) prefix = Path(os.environ["VIRTUAL_ENV"])
base_prefix = None base_prefix = None
else: else:
prefix = sys.prefix prefix = Path(sys.prefix)
base_prefix = cls.get_base_prefix() base_prefix = cls.get_base_prefix()
return VirtualEnv(prefix, base_prefix) return VirtualEnv(prefix, base_prefix)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment