1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 02:51:08 +01:00

feat: replace urlwatch by panoptikon

This commit is contained in:
2023-03-24 19:02:18 +01:00
parent 85036b55a5
commit 29985fffc2
5 changed files with 86 additions and 224 deletions

View File

@@ -1,12 +0,0 @@
diff --git a/lib/urlwatch/storage.py b/lib/urlwatch/storage.py
index 3f6160f..03979f0 100644
--- a/lib/urlwatch/storage.py
+++ b/lib/urlwatch/storage.py
@@ -292,7 +292,6 @@ class UrlsBaseFileStorage(BaseTextualFileStorage, metaclass=ABCMeta):
shelljob_errors = self.shelljob_security_checks()
if shelljob_errors and any(is_shell_job(job) for job in jobs):
print(('Removing shell jobs, because %s' % (' and '.join(shelljob_errors),)))
- jobs = [job for job in jobs if not is_shell_job(job)]
return jobs