added private encrypted NIP90 jobs, use balance if available and ptag given

This commit is contained in:
Believethehype
2023-11-26 10:31:38 +01:00
parent 36439d3390
commit 5f4886f0ba
15 changed files with 356 additions and 212 deletions

View File

@@ -17,7 +17,7 @@ Post process results to either given output format or a Nostr readable plain tex
def post_process_result(anno, original_event):
print("Post-processing...")
if isinstance(anno, pandas.DataFrame): # if input is an anno we parse it to required output format
for tag in original_event.tags():
for tag in original_event.tags:
print(tag.as_vec()[0])
if tag.as_vec()[0] == "output":
output_format = tag.as_vec()[1]