Error i couldnt solve
ridhwn opened this issue · comments
Hi, When i run the code on py 3.7 & 3.9 i got this error. I tried to understand and attempt to fix it, but still the same. Do you have any idea, im not good at phyton. I can see you just define that, but seems the import is not working. Can help?
Start sending emails...
Traceback (most recent call last):
File ".\test\espoofer.py", line 160, in
main()
File ".\test\espoofer.py", line 148, in main
exploits_builder = ExploitsBuilder(testcases.test_cases, config)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\test\exploits_builder.py", line 11, in init
self.test_cases = self.fixup_test_case_data(test_cases)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\test\exploits_builder.py", line 27, in fixup_test_case_data
t['data']['subject_header'] = self.config['subject_header']
KeyError: 'data'
Hi, thanks for reporting. Could you tell me your config.py and python commands, so that I can debug this?
t['data']->t[self.case_id]['data']