From da4adbe184b0d8550efce650d738c2ca8b3fb7b3 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:13:20 +0100 Subject: [PATCH] Update dvm.py --- nostr_dvm/dvm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index e9e5916..229353f 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -118,6 +118,8 @@ class DVM: if dvm_config.NIP88 is not None and p_tag_str == self.dvm_config.PUBLIC_KEY: # if we stored in the database that the user has an active subscription, we don't need to check it + print("User Subscription: " + str(user.subscribed) + " Current time: " + str( + Timestamp.now().as_secs())) if user.subscribed > Timestamp.now().as_secs(): print("User subscribed until: " + str(Timestamp.from_secs(user.subscribed).to_human_datetime())) user_has_active_subscription = True