Skip to content
Snippets Groups Projects
Commit dff5247e authored by Duncan Meacher's avatar Duncan Meacher
Browse files

ignore comment lines in cache file

parent 54fe97ea
No related branches found
No related tags found
1 merge request!57ignore comment lines in cache file
Pipeline #512597 passed with warnings
......@@ -135,6 +135,8 @@ class CacheManager(FileManager):
with open(self.path, 'rb') as fobj:
for line in fobj:
if line.startswith(b"#"):
continue
# parse line
site, tag, path, dur, ext, segments = self._parse_line(line)
# determine exclusion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment