fix: Get timestamp on feodo tracker

pull/12/head
Raphaël Vinot 2018-12-12 17:52:06 +01:00
parent b6ca96d147
commit b55a2ecb2c
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'# Last updated: (.*)#\n', f.getvalue())[0])
self.datetime = parse(re.findall(b'# Last updated: (.*)#', f.getvalue())[0])
return self.extract_ipv4(f.getvalue())