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