File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def _create_local(self,f):
103
103
ret = f
104
104
if ret [2 ] == "/" :
105
105
ret = ret .replace ("/" ,"\\ " )
106
-
106
+
107
107
if vdebug .opts .Options .isset ('path_maps' ):
108
108
for remote , local in vdebug .opts .Options .get ('path_maps' , dict ).items ():
109
109
if remote in ret :
@@ -120,8 +120,6 @@ def _create_remote(self,f):
120
120
Uses the "local_path" and "remote_path" options.
121
121
"""
122
122
ret = f
123
- if ret [2 ] == "\\ " :
124
- ret = ret .replace ("\\ " ,"/" )
125
123
126
124
if vdebug .opts .Options .isset ('path_maps' ):
127
125
for remote , local in vdebug .opts .Options .get ('path_maps' , dict ).items ():
@@ -131,6 +129,10 @@ def _create_remote(self,f):
131
129
vdebug .log .Logger .DEBUG )
132
130
ret = ret .replace (local ,remote )
133
131
break
132
+
133
+ if ret [2 ] == "\\ " :
134
+ ret = ret .replace ("\\ " ,"/" )
135
+
134
136
if self .is_win :
135
137
return "file:///" + ret
136
138
else :
You can’t perform that action at this time.
0 commit comments