mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 12:02:03 +02:00
Don't strip " from PATH entries
There shouldn't be any, but if they're there perhaps they're there for a reason.
This commit is contained in:
@@ -91,7 +91,6 @@ def _which(program):
|
||||
return program
|
||||
else:
|
||||
for path in os.environ["PATH"].split(os.pathsep):
|
||||
path = path.strip('"')
|
||||
exe_file = os.path.join(path, program)
|
||||
if _is_exe(exe_file):
|
||||
return exe_file
|
||||
|
||||
Reference in New Issue
Block a user