Linting fixups

This commit is contained in:
Leigh Morresi
2021-02-21 14:21:14 +01:00
parent 22bc8fabd1
commit 63eea2d6db
4 changed files with 32 additions and 51 deletions

View File

@@ -1,8 +1,6 @@
import time
import requests
import hashlib
import os
import re
from inscriptis import get_text
@@ -13,7 +11,6 @@ class perform_site_check():
super().__init__(*args, **kwargs)
self.datastore = datastore
def run(self, uuid):
timestamp = int(time.time()) # used for storage etc too
stripped_text_from_html = False
@@ -88,7 +85,6 @@ class perform_site_check():
if self.datastore.get_val(uuid, 'previous_md5'):
update_obj["last_changed"] = timestamp
update_obj["previous_md5"] = fetched_md5
return update_obj, stripped_text_from_html