From 2acd56f516b376ded05f489fef67aaa76ebe9eb0 Mon Sep 17 00:00:00 2001
From: wnabee <wnabee@lysator.liu.se>
Date: Tue, 16 Aug 2022 06:51:49 +0200
Subject: [PATCH] Fixed several minor bugs

---
 Seleniumparser.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Seleniumparser.py b/Seleniumparser.py
index d41ea9b..e508106 100644
--- a/Seleniumparser.py
+++ b/Seleniumparser.py
@@ -240,6 +240,7 @@ def postformatter(pagebunch):
                 trustedImagePaths = []
                 if CheckedImagePath.rsplit("/", 1)[-1] in os.listdir("html/images"):
                     trustedImagePaths.append(CheckedImagePath)
+                    ImageCount+=1
                     os.remove(f"html/{ImagePath}")
                     print(f"{CheckedImagePath} exists, removing {ImagePath}") 
                 else:
-- 
GitLab