block/external: backwards comparison
This commit is contained in:
parent
66af6e6550
commit
dc0bfc8cb5
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class BlockExternalAutomation(BaseAutomation):
|
|||
if proxy.deprecated:
|
||||
print("Proxy already marked blocked")
|
||||
continue
|
||||
if proxy.added < datetime.datetime.utcnow() - datetime.timedelta(hours=3):
|
||||
if proxy.added > datetime.datetime.utcnow() - datetime.timedelta(hours=3):
|
||||
activities.append(Activity(
|
||||
activity_type="block_warning",
|
||||
text=(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue