This commit is contained in:
Believethehype
2024-03-19 11:12:27 +01:00
parent d323a0eb30
commit e05b0a1986
3 changed files with 6 additions and 8 deletions

View File

@@ -100,7 +100,7 @@ class DVM:
task_supported, task = check_task_is_supported(nip90_event, client=self.client, task_supported, task = check_task_is_supported(nip90_event, client=self.client,
config=self.dvm_config) config=self.dvm_config)
print(task_supported) #print(task_supported)
if user.isblacklisted: if user.isblacklisted:
send_job_status_reaction(nip90_event, "error", client=self.client, dvm_config=self.dvm_config) send_job_status_reaction(nip90_event, "error", client=self.client, dvm_config=self.dvm_config)
print("[" + self.dvm_config.NIP89.NAME + "] Request by blacklisted user, skipped") print("[" + self.dvm_config.NIP89.NAME + "] Request by blacklisted user, skipped")

View File

@@ -118,8 +118,7 @@ def get_from_sql_table(db, npub):
user.subscribed = row[8] user.subscribed = row[8]
except: except:
user.subscribed = 0 user.subscribed = 0
print("Couldn't read subscribed, add it by calling add_sql_table_column(db) in your module once")
return user return user
except Error as e: except Error as e:

View File

@@ -838,14 +838,13 @@ const closeNWCModal = () => {
<h2 class="text-base-200-content text-center tracking-wide text-2xl font-thin "> <h2 class="text-base-200-content text-center tracking-wide text-2xl font-thin ">
Algorithms, but you are the one in control.</h2> Algorithms, but you are the one in control.</h2>
<h3>
<br> <br>
<div class="align-content-center">
<button v-if="store.state.recommendationdvms.length === 0" class="v-Button">Loading DVMs..</button>
</div> <button v-if="store.state.recommendationdvms.length === 0" class="v-Button">Loading DVMs..</button>
</h3>
</div> </div>
<br> <br>