mirror of
https://github.com/wassname/sloth.git
synced 2026-06-30 18:16:25 +08:00
test filenames with okapi video source options correctly
This commit is contained in:
@@ -168,7 +168,7 @@ class AnnotationContainer:
|
||||
the video from a path relative to the label files directory.
|
||||
"""
|
||||
fullpath = str(self._fullpath(filename))
|
||||
if not os.path.exists(fullpath):
|
||||
if not os.path.exists(fullpath) and not os.path.exists(fullpath.split('%')[0]):
|
||||
LOG.warn("Video file %s does not exist." % fullpath)
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user