Skip to content

Commit

Permalink
postprocess.py aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRSatzteil authored Mar 17, 2024
1 parent 7cfb9ce commit 4ce4e92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mayanmindee/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ def replace(result, parsed_doc, *args):

def format(result, parsed_doc, *args):
if result:
return args[0].format(result)
try:
return args[0].format(result)
except:
return result


def append(result, parsed_doc, *args):
Expand Down

0 comments on commit 4ce4e92

Please sign in to comment.