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

Typo in DownloadRedditDataset.py #2

Open
dianeoyen opened this issue Oct 16, 2020 · 0 comments
Open

Typo in DownloadRedditDataset.py #2

dianeoyen opened this issue Oct 16, 2020 · 0 comments

Comments

@dianeoyen
Copy link

Fix: rewrite line 61 of DownloadRedditDataset.py to reference each0 rather than each.

Error message:

Traceback (most recent call last):
File "DownloadRedditDataset.py", line 98, in
downloadImagesforAllJsons(jsonDir,outputDir)
File "DownloadRedditDataset.py", line 83, in downloadImagesforAllJsons
downloadFromJson(os.path.join(jsonDir,f),outDir)
File "DownloadRedditDataset.py", line 76, in downloadFromJson
downloadImages(imageURLList,imageNameList,os.path.join(outDir,jsonGraph['title']))
File "DownloadRedditDataset.py", line 61, in downloadImages
imageNameList[each[1]] = (None,None,None)
NameError: global name 'each' is not defined

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

1 participant