(fp)
| 556 | # Working on a platform where the path separator is "\", so |
| 557 | # must convert these to "/" for generating a URI |
| 558 | def fp_cleaner(fp): |
| 559 | # Replace all occurrences of backslash ("\") with a forward |
| 560 | # slash ("/") - this is necessary on windows when a path is |
| 561 | # provided as input, but we must link to a URI |
| 562 | return fp.replace('\\','/') |
| 563 | else: |
| 564 | fp_cleaner = None |
| 565 |
nothing calls this directly
no outgoing calls
no test coverage detected