Skip to content

Commit

Permalink
Fix my last change (Closes #270)
Browse files Browse the repository at this point in the history
  • Loading branch information
skangas authored and gauteh committed Dec 13, 2023
1 parent e41c966 commit 332ec9d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lieer/gmailieer.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,13 +856,11 @@ def full_pull(self):
previous.delete()
previous = self.load_resume(resume_file, last_id)

for mset in self.remote.all_messages():
(total, gids) = mset

for total, gids in self.remote.all_messages():
self.bar.total = total
self.bar_update(len(gids))

message_gids = [m["id"] for m in gids]
message_gids.extend(m["id"] for m in gids)

if self.limit is not None and len(message_gids) >= self.limit:
break
Expand Down

0 comments on commit 332ec9d

Please sign in to comment.