Skip to content

Commit

Permalink
Add support for keyless YAML via the _ variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud User committed Aug 23, 2023
1 parent 505fc3b commit 993eb38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jinjafx_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import re, argparse, hashlib, traceback, glob, hmac, uuid, struct, binascii, gzip, requests, ctypes
import cmarkgfm, emoji

__version__ = '23.8.2'
__version__ = '23.8.3'

llock = threading.RLock()
rlock = threading.RLock()
Expand Down Expand Up @@ -465,6 +465,9 @@ def yaml_vault_tag(loader, node):

y = yaml.load(gyaml, Loader=yaml.SafeLoader)
if y != None:
if isinstance(y, list):
y = {'_': y}

gvars.update(y)

st = round(time.time() * 1000)
Expand Down

0 comments on commit 993eb38

Please sign in to comment.