fix: incorrect regex match for list update
parent
19f1aa2a1a
commit
075b1843af
|
@ -9,5 +9,5 @@ from typing import List
|
|||
|
||||
|
||||
def parse_raw_file(self, f: BytesIO) -> List[bytes]:
|
||||
self.datetime = parse(re.findall(b'# Generated on (.*)#\n', f.getvalue())[0])
|
||||
self.datetime = parse(re.findall(b'# Last updated: (.*)#\n', f.getvalue())[0])
|
||||
return self.extract_ipv4(f.getvalue())
|
||||
|
|
Loading…
Reference in New Issue