fix: Get timestamp on feodo tracker
parent
b6ca96d147
commit
b55a2ecb2c
|
@ -9,5 +9,5 @@ from typing import List
|
||||||
|
|
||||||
|
|
||||||
def parse_raw_file(self, f: BytesIO) -> List[bytes]:
|
def parse_raw_file(self, f: BytesIO) -> List[bytes]:
|
||||||
self.datetime = parse(re.findall(b'# Last updated: (.*)#\n', f.getvalue())[0])
|
self.datetime = parse(re.findall(b'# Last updated: (.*)#', f.getvalue())[0])
|
||||||
return self.extract_ipv4(f.getvalue())
|
return self.extract_ipv4(f.getvalue())
|
||||||
|
|
Loading…
Reference in New Issue