Fix an issue that popped up only on Windows.
This commit is contained in:
parent
fedc78522b
commit
f8350c6304
|
@ -329,7 +329,7 @@ class FSCollector(Collector):
|
||||||
|
|
||||||
if not nodeid:
|
if not nodeid:
|
||||||
nodeid = _check_initialpaths_for_relpath(session, fspath)
|
nodeid = _check_initialpaths_for_relpath(session, fspath)
|
||||||
if os.sep != SEP:
|
if nodeid and os.sep != SEP:
|
||||||
nodeid = nodeid.replace(os.sep, SEP)
|
nodeid = nodeid.replace(os.sep, SEP)
|
||||||
|
|
||||||
super(FSCollector, self).__init__(name, parent, config, session, nodeid=nodeid, fspath=fspath)
|
super(FSCollector, self).__init__(name, parent, config, session, nodeid=nodeid, fspath=fspath)
|
||||||
|
|
Loading…
Reference in New Issue