We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc4b0e commit 2300ab9Copy full SHA for 2300ab9
src/init.jl
@@ -4,7 +4,7 @@ import Random: seed!
4
# don't alter the user-visible random state (issue #336)
5
const IJulia_RNG = seed!(Random.MersenneTwister(0))
6
import UUIDs
7
-uuid4() = repr(UUIDs.uuid4(IJulia_RNG))
+uuid4() = string(UUIDs.uuid4(IJulia_RNG))
8
9
const orig_stdin = Ref{IO}()
10
const orig_stdout = Ref{IO}()
src/msg.jl
@@ -15,7 +15,7 @@ mutable struct Msg
15
end
16
17
18
-msg_header(m::Msg, msg_type::String) = Dict("msg_id" => string(uuid4()),
+msg_header(m::Msg, msg_type::String) = Dict("msg_id" => uuid4(),
19
"username" => m.header["username"],
20
"session" => m.header["session"],
21
"date" => now(),
0 commit comments