mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 14:17:34 +01:00
fixes for translations
This commit is contained in:
2
dvm.py
2
dvm.py
@@ -450,6 +450,7 @@ class DVM:
|
||||
or job_event.kind() == EventDefinitions.KIND_DM):
|
||||
|
||||
task = get_task(job_event, client=self.client, dvmconfig=self.dvm_config)
|
||||
|
||||
for dvm in self.dvm_config.SUPPORTED_DVMS:
|
||||
try:
|
||||
if task == dvm.TASK:
|
||||
@@ -458,6 +459,7 @@ class DVM:
|
||||
result = dvm.process(request_form)
|
||||
check_and_return_event(result, str(job_event.as_json()))
|
||||
|
||||
|
||||
except Exception as e:
|
||||
print(e)
|
||||
send_job_status_reaction(job_event, "error", content=str(e), dvm_config=self.dvm_config)
|
||||
|
||||
Reference in New Issue
Block a user