Skip to content

Commit

Permalink
aesthetic string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Palme committed Feb 29, 2024
1 parent 77ab779 commit decec7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/certificator/certificator.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,16 +453,16 @@ def receive():

command = ["ssh-keygen",
"-s",
"{CA_KEY_PATH}".format(CA_KEY_PATH=CA_KEY_PATH),
f"{CA_KEY_PATH}",
"-n",
"{username}".format(username=username),
f"{username}",
"-V",
"{ssh_expire}".format(ssh_expire=ssh_expire),
f"{ssh_expire}",
"-I",
"{CA_KEY_PATH}".format(CA_KEY_PATH=CA_KEY_PATH),
f"{CA_KEY_PATH}",
"-O",
"force-command={force_command} {force_opt}".format(force_command=force_command,force_opt=force_opt),
"{td}/user-key.pub".format(td=td)
f"force-command={force_command} {force_opt}",
f"{td}/user-key.pub"
]

except Exception as e:
Expand Down

0 comments on commit decec7d

Please sign in to comment.