mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-21 14:43:17 +00:00
Fix ruff formatting in utils.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d1e8d3b3d0
commit
c350a73e95
+1
-3
@@ -388,9 +388,7 @@ def get_ip_address_country(
|
||||
db_path = _IP_DB_PATH
|
||||
else:
|
||||
db_path = str(
|
||||
files(parsedmarc.resources.dbip).joinpath(
|
||||
"dbip-country-lite.mmdb"
|
||||
)
|
||||
files(parsedmarc.resources.dbip).joinpath("dbip-country-lite.mmdb")
|
||||
)
|
||||
|
||||
db_age = datetime.now() - datetime.fromtimestamp(os.stat(db_path).st_mtime)
|
||||
|
||||
Reference in New Issue
Block a user