We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 679db0d commit 70737cdCopy full SHA for 70737cd
nets/8r-1c-in-band-isis/isis8d.py
@@ -10,7 +10,8 @@
10
if os.path.exists('.venv'):
11
with open('.venv', 'r') as venv_file:
12
# Get virtualenv path from .venv file
13
- venv_path = venv_file.read()
+ # and remove trailing newline chars
14
+ venv_path = venv_file.read().rstrip()
15
# Get path of the activation script
16
venv_path = os.path.join(venv_path, 'bin/activate_this.py')
17
if not os.path.exists(venv_path):
0 commit comments