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

Update app.py #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update app.py #21

wants to merge 1 commit into from

Conversation

ordaj
Copy link

@ordaj ordaj commented Jul 13, 2023

Error messages:
[2023-07-12 20:04:00.462644] [action=info] [source_file_name=ERROR Parsing [1/1] nessus files] [2023-07-12 20:04:00.463644] [action=info] [source_file_name=unsupported operand type(s) for +=: 'NoneType' and 'int']

By adding str(notification), you ensure that the notification is converted to a string before being emitted. This should resolve the error caused by concatenating a NoneType and an int.

Error messages:
[2023-07-12 20:04:00.462644] [action=info] [source_file_name=ERROR Parsing [1/1] nessus files] 
[2023-07-12 20:04:00.463644] [action=info] [source_file_name=unsupported operand type(s) for +=: 'NoneType' and 'int']

By adding str(notification), you ensure that the notification is converted to a string before being emitted. This should resolve the error caused by concatenating a NoneType and an int.
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

Successfully merging this pull request may close these issues.

1 participant