mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-04 22:40:30 +00:00
Better wording
This commit is contained in:
parent
ef037a41e2
commit
2bc15ec7f2
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue