ytsapras / robonet_site

Django RoboNet operational database.
GNU General Public License v2.0
0 stars 0 forks source link

add_event_name bug #11

Closed rachel3834 closed 7 years ago

rachel3834 commented 7 years ago

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.