DmitrMakeev
commited on
Commit
•
5c1a526
1
Parent(s):
0d590a3
Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,10 @@ def add_data_gc():
|
|
171 |
if existing_contact:
|
172 |
return f"Contact with phone {phone} or email {email} already exists."
|
173 |
|
174 |
-
cursor.execute('
|
|
|
|
|
|
|
175 |
conn.commit()
|
176 |
conn.close()
|
177 |
|
|
|
171 |
if existing_contact:
|
172 |
return f"Contact with phone {phone} or email {email} already exists."
|
173 |
|
174 |
+
cursor.execute('''
|
175 |
+
INSERT INTO contacts (name, phone, email, ws_statys, ws_stop, web_statys, fin_progress, shop_statys, curator, partner, pr1, pr2, pr3)
|
176 |
+
VALUES (?, ?, ?, 0, 0, 0, 0, '', '', '', '', '', '')
|
177 |
+
''', (name, phone, email))
|
178 |
conn.commit()
|
179 |
conn.close()
|
180 |
|