fix: incorrect regex match for list update

pull/17/head
Raphaël Vinot 2021-12-30 11:31:23 +01:00
parent 19f1aa2a1a
commit 075b1843af
1 changed files with 1 additions and 1 deletions

View File

@ -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())