Skip to content

Commit

Permalink
Fixing another bug in parse.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkschleg committed Jan 28, 2022
1 parent 170d73e commit 706f8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function get_save_backend(::Val{:mysql}, cdict)
end

function get_save_backend(::Val{:file}, cdict)
file_type = Symbol(cdict["file_type"])
FileSave(joinpath(cdict["save_dir"], "data"), SaveManager(file_type))
file_type = Val(Symbol(cdict["file_type"]))
get_save_backend(file_type, cdict)
end

function get_save_backend(ft::Union{Val{:jld2}, Val{:hdf5}, Val{:bson}}, cdict)
Expand Down

0 comments on commit 706f8a0

Please sign in to comment.