1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-17 18:31:15 +00:00

Better wording

This commit is contained in:
Mo 2023-11-03 21:41:28 +01:00
parent ef037a41e2
commit 2bc15ec7f2
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ def _generate_secrets():
file = data_dir / "secrets.ini"
if file.is_file():
click.echo(f"Skipping secrets generation because the secrets file does already exist at {file}.")
click.echo(f"Skipping secrets generation because the secrets file already exists at {file}.")
return
with file.open("w") as f:

View file

@ -19,7 +19,7 @@ class EmailParamType(click.ParamType):
def _init_db(manage):
db_file = data_dir / "db/advlabdb.sqlite"
if db_file.is_file():
click.echo(f"Skipping database initialization because the database does already exist at {db_file}.")
click.echo(f"Skipping database initialization because the database already exists at {db_file}.")
return
app = create_app(create_for_server=False)

View file

@ -37,7 +37,7 @@ def _generate_test_db():
if db_file.is_file():
click.echo(
click.style(
f"Generating a test database is not allowed because a database does already exist at {db_file}.",
f"Generating a test database is not allowed because a database already exists at {db_file}.",
fg="red",
)
)