DmitrMakeev commited on
Commit
ca6c5ee
1 Parent(s): 3b0a5d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -573,11 +573,7 @@ def show_data_gc():
573
 
574
  conn = sqlite3.connect('data_gc.db')
575
  cursor = conn.cursor()
576
- cursor.execute('''
577
- SELECT id, name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
578
- shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
579
- FROM contacts
580
- ''')
581
  contacts = cursor.fetchall()
582
  cursor.execute('SELECT COUNT(*) FROM contacts')
583
  total_users = cursor.fetchone()[0]
@@ -599,11 +595,7 @@ def show_data_ras():
599
 
600
  conn = sqlite3.connect('data1.db')
601
  cursor = conn.cursor()
602
- cursor.execute('''
603
- SELECT id, name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress,
604
- shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
605
- FROM contacts
606
- ''')
607
  contacts = cursor.fetchall()
608
  cursor.execute('SELECT COUNT(*) FROM contacts')
609
  total_users = cursor.fetchone()[0]
 
573
 
574
  conn = sqlite3.connect('data_gc.db')
575
  cursor = conn.cursor()
576
+ cursor.execute('SELECT name, phone, email FROM contacts')
 
 
 
 
577
  contacts = cursor.fetchall()
578
  cursor.execute('SELECT COUNT(*) FROM contacts')
579
  total_users = cursor.fetchone()[0]
 
595
 
596
  conn = sqlite3.connect('data1.db')
597
  cursor = conn.cursor()
598
+ cursor.execute('SELECT name, phone, email FROM contacts')
 
 
 
 
599
  contacts = cursor.fetchall()
600
  cursor.execute('SELECT COUNT(*) FROM contacts')
601
  total_users = cursor.fetchone()[0]