diff --git a/mempalace/convo_miner.py b/mempalace/convo_miner.py index 20ba1c2..e2be2f1 100644 --- a/mempalace/convo_miner.py +++ b/mempalace/convo_miner.py @@ -400,8 +400,10 @@ def scan_convos(convo_dir: str) -> list: try: file_size = filepath.stat().st_size if file_size > MAX_FILE_SIZE: - print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" - f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit") + print( + f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" + f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit" + ) continue except OSError: continue diff --git a/mempalace/miner.py b/mempalace/miner.py index d8022fd..50b8521 100644 --- a/mempalace/miner.py +++ b/mempalace/miner.py @@ -1593,8 +1593,10 @@ def scan_project( try: file_size = filepath.stat().st_size if file_size > MAX_FILE_SIZE: - print(f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" - f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit") + print( + f" SKIP: {filepath.name} ({file_size / (1024 * 1024):.1f} MB)" + f" exceeds {MAX_FILE_SIZE // (1024 * 1024)} MB limit" + ) continue except OSError: continue