I was trying to get certain hashtags, the others in the example all worked, and I use this format in terminal
python Exporter.py --hashtags "#everyday" --maxtweets 10
It returns me this error:
Traceback (most recent call last):
File "Exporter.py", line 79, in
main(sys.argv[1:])
File "Exporter.py", line 75, in main
outputFile.close()
UnboundLocalError: local variable 'outputFile' referenced before assignment
I was trying to get certain hashtags, the others in the example all worked, and I use this format in terminal python Exporter.py --hashtags "#everyday" --maxtweets 10
It returns me this error: Traceback (most recent call last): File "Exporter.py", line 79, in
main(sys.argv[1:])
File "Exporter.py", line 75, in main
outputFile.close()
UnboundLocalError: local variable 'outputFile' referenced before assignment
How can I solve this?
Thanks