pyinfra: this order is prettier with most deployments

pull/13/head
missytake 2023-10-09 08:46:15 +02:00
parent 82b1fd8c01
commit 39e81f74b5
1 changed files with 1 additions and 1 deletions

View File

@ -41,9 +41,9 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str
if not dbdir:
dbdir = f"/home/{unix_user}/.config/teams_bot/{bot_email}/"
secrets = [
f'TEAMS_DBDIR={dbdir}',
f"TEAMS_INIT_EMAIL={bot_email}",
f"TEAMS_INIT_PASSWORD={bot_passwd}",
f'TEAMS_DBDIR={dbdir}',
]
env = "\n".join(secrets)
files.put(