Просмотр исходного кода

Add little notice when using the default config

sh4nks 8 лет назад
Родитель
Сommit
4075f305d7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      flaskbb/cli/commands.py

+ 2 - 0
flaskbb/cli/commands.py

@@ -162,6 +162,8 @@ def make_app(script_info):
                             "Using default config.".format(config_file),
                             fg="red")
                 config_file = None
+    else:
+        click.secho("[~] Using default config.", fg="yellow")
 
     return create_app(config_file)