DmitrMakeev commited on
Commit
63c6283
·
verified ·
1 Parent(s): 35b861d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1761,7 +1761,7 @@ def se_upl_csv():
1761
 
1762
 
1763
 
1764
- DATABASE2 = 'data_gc.db'
1765
 
1766
  def verify_phone_number_b(phone_number):
1767
  full_url_ver = f"{wa_url}{wa_ak}{ws_url_ver}{wa_api_key}"
@@ -1790,7 +1790,7 @@ def clean_phone_number_b(phone_number):
1790
 
1791
  def insert_data_b(data, verify_phone, add_curator):
1792
  global current_curator_index
1793
- conn = sqlite3.connect(DATABASE2)
1794
  cursor = conn.cursor()
1795
 
1796
  for row in data:
 
1761
 
1762
 
1763
 
1764
+ DATABASE4 = 'data_gc.db'
1765
 
1766
  def verify_phone_number_b(phone_number):
1767
  full_url_ver = f"{wa_url}{wa_ak}{ws_url_ver}{wa_api_key}"
 
1790
 
1791
  def insert_data_b(data, verify_phone, add_curator):
1792
  global current_curator_index
1793
+ conn = sqlite3.connect(DATABASE4)
1794
  cursor = conn.cursor()
1795
 
1796
  for row in data: