Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'file' is not defined #2

Open
Oshana opened this issue Jul 25, 2019 · 2 comments
Open

NameError: name 'file' is not defined #2

Oshana opened this issue Jul 25, 2019 · 2 comments

Comments

@Oshana
Copy link

Oshana commented Jul 25, 2019

File "MARVEL_Download.py", line 102, in worker
status = save_image(ID,JUST_IMAGE,currFolder)
File "MARVEL_Download.py", line 59, in save_image
out = file(os.path.join(outFolder,filename),"wb")
NameError: name 'file' is not defined

@dataman-py
Copy link

File "MARVEL_Download.py", line 102, in worker
status = save_image(ID,JUST_IMAGE,currFolder)
File "MARVEL_Download.py", line 59, in save_image
out = file(os.path.join(outFolder,filename),"wb")
NameError: name 'file' is not defined

i have that problem too

@Kaeseknacker
Copy link

I changed the line as follows:

out = os.path.join(outFolder,filename)

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

No branches or pull requests

3 participants