Skip to content

Commit

Permalink
fix: hide current item name on progress to avoid glitches
Browse files Browse the repository at this point in the history
fix #18
  • Loading branch information
vzhd1701 committed May 10, 2022
1 parent cf04c2b commit 19925b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion evernote_backup/note_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def _export_active(self, single_notes: bool, no_export_date: bool) -> None:

with progressbar(
notebooks,
item_show_func=lambda x: str(x.name) if x else "",
show_pos=True,
file=get_progress_output(),
) as notebooks_bar:
Expand Down
1 change: 0 additions & 1 deletion evernote_backup/note_synchronizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ def _download_scheduled_notes(self, notes_to_sync: Tuple[NoteForSync, ...]) -> N
length=len(notes_to_sync),
show_pos=True,
file=get_progress_output(),
item_show_func=lambda x: x.title if x else "", # type: ignore
) as notes_bar:
for notes_to_sync_chunk in chunks(notes_to_sync, THREAD_CHUNK_SIZE):
self._process_download_chunk(
Expand Down

0 comments on commit 19925b4

Please sign in to comment.