diff --git a/nostr_dvm/tasks/generic_dvm.py b/nostr_dvm/tasks/generic_dvm.py index 878e12d..06e5183 100644 --- a/nostr_dvm/tasks/generic_dvm.py +++ b/nostr_dvm/tasks/generic_dvm.py @@ -46,7 +46,8 @@ class GenericDVM(DVMTaskInterface): prompt = tag.as_vec()[1] request_form = {"jobID": event.id().to_hex()} - self.options["input"] = prompt + if prompt != "": + self.options["input"] = prompt request_form['options'] = json.dumps(self.options) return request_form diff --git a/setup.py b/setup.py index a258c90..6bba296 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '0.8.8' +VERSION = '0.8.9' DESCRIPTION = 'A framework to build and run Nostr NIP90 Data Vending Machines' LONG_DESCRIPTION = ('A framework to build and run Nostr NIP90 Data Vending Machines. See the github repository for more information')