add_event_name(event=event, operator=operator, name=name)
Traceback (most recent call last):
File "", line 1, in
File "update_db_2.py", line 255, in add_event_name
return successful, response
UnboundLocalError: local variable 'successful' referenced before assignment
successful is not defined. This was a problem with the 'else' statement indentation in the related function which I have now fixed and recommited.
add_event_name(event=event, operator=operator, name=name) Traceback (most recent call last): File "", line 1, in
File "update_db_2.py", line 255, in add_event_name
return successful, response
UnboundLocalError: local variable 'successful' referenced before assignment
successful is not defined. This was a problem with the 'else' statement indentation in the related function which I have now fixed and recommited.