Show More
@@ -198,8 +198,6 b' def _hybridencode(path, auxencode):' | |||||
198 | The string 'data/' at the beginning is replaced with 'dh/', if the hashed |
|
198 | The string 'data/' at the beginning is replaced with 'dh/', if the hashed | |
199 | encoding was used. |
|
199 | encoding was used. | |
200 | ''' |
|
200 | ''' | |
201 | if not path.startswith('data/'): |
|
|||
202 | return path |
|
|||
203 | res = '/'.join(auxencode(encodefilename(path))) |
|
201 | res = '/'.join(auxencode(encodefilename(path))) | |
204 | if len(res) > _maxstorepathlen: |
|
202 | if len(res) > _maxstorepathlen: | |
205 | path = encodedir(path) |
|
203 | path = encodedir(path) |
General Comments 0
You need to be logged in to leave comments.
Login now