mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-24 16:06:44 +01:00
fixes
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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>
|
<button v-if="store.state.recommendationdvms.length === 0" class="v-Button">Loading DVMs..</button>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</h3>
|
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user