linted code
This commit is contained in:
@@ -119,7 +119,9 @@ def main():
|
||||
|
||||
for ip in ips_to_analyze:
|
||||
# Get full history for this IP to perform accurate analysis
|
||||
ip_accesses = db_manager.get_access_logs(limit=10000, ip_filter=ip, since_minutes=1440*30) # look back up to 30 days of history for better accuracy
|
||||
ip_accesses = db_manager.get_access_logs(
|
||||
limit=10000, ip_filter=ip, since_minutes=1440 * 30
|
||||
) # look back up to 30 days of history for better accuracy
|
||||
total_accesses_count = len(ip_accesses)
|
||||
if total_accesses_count <= 0:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user