DmitrMakeev
commited on
Commit
•
8e893a1
1
Parent(s):
7e280e2
Update app.py
Browse files
app.py
CHANGED
@@ -1510,8 +1510,8 @@ def add_or_update_contact(contact_data):
|
|
1510 |
cursor.execute(insert_query, tuple(contact_data[field] for field in fields))
|
1511 |
|
1512 |
conn.commit()
|
|
|
1513 |
conn.close()
|
1514 |
-
|
1515 |
@app.route('/add_data_ver_cur', methods=['GET'])
|
1516 |
def add_data_ver_cur():
|
1517 |
global current_curator_index
|
@@ -1575,7 +1575,6 @@ def add_data_ver_cur():
|
|
1575 |
|
1576 |
|
1577 |
|
1578 |
-
|
1579 |
|
1580 |
|
1581 |
def clean_phone_number_ss(phone_number):
|
|
|
1510 |
cursor.execute(insert_query, tuple(contact_data[field] for field in fields))
|
1511 |
|
1512 |
conn.commit()
|
1513 |
+
replace_null_with_empty_string(conn)
|
1514 |
conn.close()
|
|
|
1515 |
@app.route('/add_data_ver_cur', methods=['GET'])
|
1516 |
def add_data_ver_cur():
|
1517 |
global current_curator_index
|
|
|
1575 |
|
1576 |
|
1577 |
|
|
|
1578 |
|
1579 |
|
1580 |
def clean_phone_number_ss(phone_number):
|