i3visio / osrframework

OSRFramework, the Open Sources Research Framework is a AGPLv3+ project by i3visio focused on providing API and tools to perform more accurate online researches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NameError: name 'dictAPIeys' is not defined when setting API keys in api_keys.cfg

tedmdelacruz opened this issue · comments

Stack trace:

Traceback (most recent call last):
  File "/home/kali/.local/bin/mailfy", line 8, in <module>
    sys.exit(main())
  File "/home/kali/.local/lib/python3.8/site-packages/osrframework/mailfy.py", line 520, in main
    all_keys = config_api_keys.get_list_of_api_keys()
  File "/home/kali/.local/lib/python3.8/site-packages/osrframework/utils/config_api_keys.py", line 74, in get_list_of_api_keys
    dictAPIeys[platform] = platform_api
NameError: name 'dictAPIeys' is not defined

looking at this line looks like dictAPIeys should have been dict_api_keys

I can submit an PR to fix this