fix home access for JDS
This commit is contained in:
parent
cc6bbe937f
commit
eedecb34d5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def jds_preproc(cmd: str, **kw):
|
|||
cmd = f'print("\'{HOME}\' not found.")'
|
||||
except ValueError:
|
||||
cmd = f'print("\'{cmd.strip().replace("`", "")}\' is not a valid JDN.")'
|
||||
elif cmd.startswith("`") and not cmd.strip().endswith("`"):
|
||||
elif cmd.startswith("`") and not (len(cmd.strip()) >= 2 and cmd.strip().endswith("`")):
|
||||
try:
|
||||
johnny_decimal_notation = cmd.replace("`", "")
|
||||
if johnny_decimal_notation == "\n":
|
||||
|
|
Loading…
Reference in a new issue