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 1ea53d8 commit d02c4cbCopy full SHA for d02c4cb
__init__.py
@@ -70,6 +70,7 @@ def check_for_ptvsd():
70
71
#check in path just in case PYTHONPATH happens to be set
72
for path in sys.path:
73
+ path = path.rstrip("/")
74
if os.path.exists(path+"/ptvsd"):
75
return path
76
if os.path.exists(path+"/site-packages/ptvsd"):
@@ -167,7 +168,7 @@ class DebugServerStart(bpy.types.Operator):
167
168
def execute(self, context):
169
#get ptvsd and import if exists
170
prefs = bpy.context.preferences.addons[__name__].preferences
- ptvsd_path = prefs.path
171
+ ptvsd_path = prefs.path.rstrip("/")
172
ptvsd_port = prefs.port
173
174
#actually check ptvsd is still available
0 commit comments