CravingCrates / AnkiCollab-Plugin

The source code for the Anki Plugin
GNU General Public License v3.0
58 stars 12 forks source link

[Bug?]media download just keeps going #23

Closed Mahgozar closed 6 months ago

Mahgozar commented 10 months ago

whenever i try to download missing media from the anking deck, the downlaod goes way beyond the missing media count and i have to close it manually image

she3o commented 8 months ago

I don't have a testing platform. Can @CravingCrates see if the following in plugin_source/google_drive_api.py fixes this bug?

     def download_selected_files_as_zip(self, file_names, local_folder_path, download_progress_cb=None):
-        files = []
         counter = 0
         for chunk in self.chunks(file_names, 50):  # break up file_names into chunks of 100
+            files = []
             if mw.progress.want_cancel():
                 break
             query = f"("
github-actions[bot] commented 6 months ago

Stale issue message