Skip to content

Commit 60ba70f

Browse files
authored
Merge pull request #606 from JuliaRobotics/feat/3Q20/581
shorter loadDFG temp folder name
2 parents 66906f1 + 5cc7ee1 commit 60ba70f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/FileDFG/services/FileDFG.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,9 @@ ls(dfg)
8686
"""
8787
function loadDFG!(dfgLoadInto::AbstractDFG, dst::AbstractString)
8888

89-
9089
#
9190
# loaddir gets deleted so needs to be unique
92-
loaddir=joinpath("/","tmp","caesar","random", string(uuid1()))
91+
loaddir=split(joinpath("/","tmp","caesar","random", string(uuid1())), '-')[1]
9392
# Check if zipped destination (dst) by first doing fuzzy search from user supplied dst
9493
folder = dst # working directory for fileDFG variable and factor operations
9594
dstname = dst # path name could either be legacy FileDFG dir or .tar.gz file of FileDFG files.

0 commit comments

Comments
 (0)