Fixed flake8 and minor code style

This commit is contained in:
Nex 2022-06-28 12:00:30 +02:00
parent 815cdc0a88
commit 8ff8e599d8
3 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import json
import logging
import os
import requests
from appdirs import user_data_dir
from .url import URL

View File

@ -38,6 +38,7 @@ def check_updates() -> None:
print("\t\t[bold]There are updates to your indicators files! Run the `download-iocs` command to update!")
return
def logo() -> None:
print("\n")
print("\t[bold]MVT[/bold] - Mobile Verification Toolkit")

View File

@ -67,7 +67,7 @@ class IndicatorsUpdates:
res = requests.get(url)
if res.status_code != 200:
log.error("Failed to retrieve indicators index located at %s (error %d)",
index_url, res.status_code)
url, res.status_code)
return None
return yaml.safe_load(res.content)