summaryrefslogtreecommitdiff
path: root/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'db.py')
-rw-r--r--db.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/db.py b/db.py
index 7986156..d6f0aeb 100644
--- a/db.py
+++ b/db.py
@@ -236,6 +236,16 @@ class HumanKind(object):
self._db.commit()
+ def mark_profile_as_superliked(self, profile):
+ """Update information about a Tinder profile in the database."""
+
+ values = (True, profile._id)
+
+ cursor = self._db.cursor()
+ cursor.execute('UPDATE People SET superliked = ? WHERE uid = ?', values)
+ self._db.commit()
+
+
def mark_profile_as_passed(self, profile):
"""Update information about a Tinder profile in the database."""