Merge branch 'clear-text-before-insert' into simplify-cli-arguments
This commit is contained in:
@@ -181,6 +181,8 @@ def create_app(args):
|
||||
"Skip document scanning(another scanning is active)"
|
||||
)
|
||||
|
||||
ASCIIColors.green("\nServer is ready to accept connections! 🚀\n")
|
||||
|
||||
yield
|
||||
|
||||
finally:
|
||||
|
@@ -161,7 +161,7 @@ class DocumentManager:
|
||||
"""Scan input directory for new files"""
|
||||
new_files = []
|
||||
for ext in self.supported_extensions:
|
||||
logging.info(f"Scanning for {ext} files in {self.input_dir}")
|
||||
logging.debug(f"Scanning for {ext} files in {self.input_dir}")
|
||||
for file_path in self.input_dir.rglob(f"*{ext}"):
|
||||
if file_path not in self.indexed_files:
|
||||
new_files.append(file_path)
|
||||
|
@@ -492,7 +492,5 @@ def display_splash_screen(args: argparse.Namespace) -> None:
|
||||
Make sure to include the X-API-Key header in all your requests.
|
||||
""")
|
||||
|
||||
ASCIIColors.green("Server is ready to accept connections! 🚀\n")
|
||||
|
||||
# Ensure splash output flush to system log
|
||||
sys.stdout.flush()
|
||||
|
Reference in New Issue
Block a user