Fix an issue that popped up only on Windows.

This commit is contained in:
turturica 2018-04-21 19:51:33 -07:00
parent fedc78522b
commit f8350c6304
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ class FSCollector(Collector):
if not nodeid:
nodeid = _check_initialpaths_for_relpath(session, fspath)
if os.sep != SEP:
if nodeid and os.sep != SEP:
nodeid = nodeid.replace(os.sep, SEP)
super(FSCollector, self).__init__(name, parent, config, session, nodeid=nodeid, fspath=fspath)