diff --git a/application/main.py b/application/main.py index e1b00eb1..87d01d39 100644 --- a/application/main.py +++ b/application/main.py @@ -27,7 +27,6 @@ def request(action: Any, **params: Any) -> Dict[str, Any]: def main( recur_dir: Path, - project_dir: Path, watch: Annotated[ bool, typer.Option(help="Keep running, updating Anki deck every 15 seconds"), @@ -74,7 +73,7 @@ def main( sleep_seconds = 60 msg.good(f"Sync complete, sleeping for {sleep_seconds} seconds") sleep(sleep_seconds) - main(recur_dir=recur_dir, project_dir=project_dir, watch=watch) + main(recur_dir=recur_dir, watch=watch) if __name__ == "__main__": diff --git a/src/personal_mnemonic_medium/exporters/anki/sync.py b/src/personal_mnemonic_medium/exporters/anki/sync.py index 0de09fc0..4cc6e0c2 100644 --- a/src/personal_mnemonic_medium/exporters/anki/sync.py +++ b/src/personal_mnemonic_medium/exporters/anki/sync.py @@ -127,7 +127,8 @@ def sync_deck( traceback.print_exc() except Exception as e: print(f"Unable to sync {package_path} to anki") - print(f"\t{e}") + print(f"{e}") + traceback.print_exc() else: msg.info("Skipped") msg.info(f"{deck_bundle.deck.name}")