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

Problem with variable referenced before assignment #1

Open
schmueller opened this issue Mar 22, 2024 · 0 comments
Open

Problem with variable referenced before assignment #1

schmueller opened this issue Mar 22, 2024 · 0 comments

Comments

@schmueller
Copy link

Hi,
when starting dmarc-analyse.py I get the following error:

Traceback (most recent call last):
File "/root/dmarc-analyse-main/dmarc-analyse.py", line 208, in
if getDMARCreportAttachment(rawMsg): # Get through the attachment(s)
File "/root/dmarc-analyse-main/dmarc-analyse.py", line 133, in getDMARCreportAttachment
return failDetectedInReport

I've added " failDetectedInReport=False" on line 27. in the def getDMARCreportAttachment(msg)
This solved the problem for me.
Please verify if this is the correct fix for the error.

Best regards Norbert

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