Skip to content

Commit

Permalink
fix: correct string formatting in warning message for root certificat…
Browse files Browse the repository at this point in the history
…e retrieval
  • Loading branch information
dzx-dzx committed Feb 7, 2025
1 parent 4256805 commit 38bb3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accesser/utils/importca.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ def import_ca():
else:
logger.warning('Automatic import of root certificate root.crt is not yet supported on this platform.')
cm.create_root_ca()
logger.warning(f'You can GET root certificate from http://localhost:{setting.config['server']['port']}/CERT/root.crt and import it manually.')
logger.warning(f'You can GET root certificate from http://localhost:{setting.config["server"]["port"]}/CERT/root.crt and import it manually.')

0 comments on commit 38bb3d7

Please sign in to comment.