fix bug showing up on windows
This commit is contained in:
parent
d9ad2e7cce
commit
9bed4bb31c
|
@ -323,7 +323,7 @@ class FSCollector(Collector):
|
|||
return "."
|
||||
relpath = self.collection.fspath.bestrelpath(self.fspath)
|
||||
if os.sep != "/":
|
||||
relpath = str(path).replace(os.sep, "/")
|
||||
relpath = relpath.replace(os.sep, "/")
|
||||
return relpath
|
||||
|
||||
class File(FSCollector):
|
||||
|
|
Loading…
Reference in New Issue