Skip to content

Fix download.py to work without global variables#5

Open
meffmadd wants to merge 1 commit intorois-codh:masterfrom
meffmadd:patch-1
Open

Fix download.py to work without global variables#5
meffmadd wants to merge 1 commit intorois-codh:masterfrom
meffmadd:patch-1

Conversation

@meffmadd
Copy link
Copy Markdown

@meffmadd meffmadd commented Aug 27, 2021

Since Python 3.8 on the macOS version the multiprocessing module does not use spawn anymore so global variables become unavailable in Pools (see: https://bugs.python.org/issue39931). I simply pass all necessary variables as arguments instead. With this change redownloading_warning becomes unavailable.

Fixes #4

Since Python 3.8 on the macOS version, the multiprocessing module does not use spawn anymore so global variables become unavailable (see: https://bugs.python.org/issue39931). With this change redownloading_warning becomes unavailable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NameError: name 'images_dir' is not defined

1 participant