fixed BUG-114 -> only show path-specific existing options in movedbox. Added test doc to read to TODO

This commit is contained in:
2023-01-13 16:48:35 +11:00
parent f98369e118
commit f875b50dc8
4 changed files with 23 additions and 10 deletions

View File

@@ -815,9 +815,10 @@ def GetExistingPathsAsDiv(dt):
ret+= '{ '
ret+= '"prefix":"' + bits[0] + '-", '
if len(bits)>1:
ret+= '"suffix":"' + bits[1] + '"'
ret+= '"suffix":"' + bits[1] + '", '
else:
ret+= '"suffix":"''"'
ret+= '"suffix":"''", '
ret += '"ptype": "'+dir.in_path.type.name+'"'
ret+= ' } '
first_dir=0
ret+= ' ]'