Use str for DEFAULT_PUBKEY_LOCATION

This commit is contained in:
Alexis Métaireau 2025-04-25 18:50:27 +02:00
parent 872dc97edb
commit 7caa6cd84e
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -31,7 +31,7 @@ def appdata_dir() -> Path:
DEFAULT_LOG_INDEX = 0
# XXX Store this somewhere else.
DEFAULT_PUBKEY_LOCATION = get_resource_path("freedomofpress-dangerzone-pub.key")
DEFAULT_PUBKEY_LOCATION = str(get_resource_path("freedomofpress-dangerzone-pub.key"))
SIGNATURES_PATH = appdata_dir() / "signatures"
LAST_LOG_INDEX = SIGNATURES_PATH / "last_log_index"