Commit d5bdba48 authored by ale's avatar ale

use re.search, not re.match

parent 5eff6bb3
......@@ -45,7 +45,7 @@ def process_scan_results(scan_results):
now = int(time.time())
by_user = {}
for entry in scan_results:
m = user_info_pattern.match(entry['path'])
m = user_info_pattern.search(entry['path'])
if not m:
continue
entry.update(m.groupdict())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment