Skip to content

Commit

Permalink
Merge pull request #163 from MartinBernstorff/mb/debug_no_such_file_o…
Browse files Browse the repository at this point in the history
…r_directory

fix: correct bind mounts
  • Loading branch information
MartinBernstorff authored Oct 23, 2023
2 parents ff5fd40 + 0773a19 commit 7984cd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions application/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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__":
Expand Down
3 changes: 2 additions & 1 deletion src/personal_mnemonic_medium/exporters/anki/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 7984cd2

Please sign in to comment.