invalid product
This commit is contained in:
@@ -747,7 +747,7 @@ def subscription_start(current_user):
|
|||||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||||
cursor.execute(FIND_PRODUCT)
|
cursor.execute(FIND_PRODUCT)
|
||||||
product = cursor.fetchall()
|
product = cursor.fetchall()
|
||||||
print(product[0]["uid"])
|
# print(product[0]["uid"])
|
||||||
|
|
||||||
product_found = count = len( product )
|
product_found = count = len( product )
|
||||||
if product_found == 0 :
|
if product_found == 0 :
|
||||||
|
|||||||
Reference in New Issue
Block a user