Show More
@@ -143,7 +143,8 b' def _auxencode(path, dotencode):' | |||||
143 | ''' |
|
143 | ''' | |
144 | res = path.split('/') |
|
144 | res = path.split('/') | |
145 | for i, n in enumerate(res): |
|
145 | for i, n in enumerate(res): | |
146 | if n: |
|
146 | if not n: | |
|
147 | continue | |||
147 |
|
|
148 | if dotencode and n[0] in '. ': | |
148 |
|
|
149 | n = "~%02x" % ord(n[0]) + n[1:] | |
149 |
|
|
150 | res[i] = n |
General Comments 0
You need to be logged in to leave comments.
Login now