File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -244,16 +244,15 @@ def init(repo):
244244 # Add Jinja2 filters commonly used in this repository
245245 if 'Windows' in platform .platform ():
246246 def windowsify (path , escape_level ):
247- path = normpath (path )
248247 escaped = "\\ " * (2 ** escape_level )
249248 return path .replace ("\\ " , escaped )
250249 def posixify (path ):
251- return normpath ( path ) .replace ("\\ " , "/" )
250+ return path .replace ("\\ " , "/" )
252251 else :
253252 def windowsify (path , escape_level ):
254- return normpath ( path )
253+ return path
255254 def posixify (path ):
256- return normpath ( path )
255+ return path
257256 repo .add_filter ("modm.windowsify" , windowsify )
258257 repo .add_filter ("modm.posixify" , posixify )
259258 repo .add_filter ("modm.ord" , lambda letter : ord (letter [0 ].lower ()) - ord ("a" ))
You can’t perform that action at this time.
0 commit comments