mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-06-02 22:30:26 +00:00
Update android_handler.py
This commit is contained in:
@@ -488,7 +488,7 @@ def _get_reactions(db, data):
|
|||||||
c = db.cursor()
|
c = db.cursor()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Check if tables exist
|
# Check if tables exist, old schema might not have reactions or in somewhere else
|
||||||
c.execute("SELECT count(*) FROM sqlite_master WHERE type='table' AND name='message_add_on'")
|
c.execute("SELECT count(*) FROM sqlite_master WHERE type='table' AND name='message_add_on'")
|
||||||
if c.fetchone()[0] == 0:
|
if c.fetchone()[0] == 0:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user