Skip to content

Commit 2f15911

Browse files
authored
Merge pull request #220 from dzx-dzx/master
fix: correct string formatting in warning message for root certificate retrieval
2 parents 4256805 + 38bb3d7 commit 2f15911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accesser/utils/importca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ def import_ca():
110110
else:
111111
logger.warning('Automatic import of root certificate root.crt is not yet supported on this platform.')
112112
cm.create_root_ca()
113-
logger.warning(f'You can GET root certificate from http://localhost:{setting.config['server']['port']}/CERT/root.crt and import it manually.')
113+
logger.warning(f'You can GET root certificate from http://localhost:{setting.config["server"]["port"]}/CERT/root.crt and import it manually.')

0 commit comments

Comments
 (0)