Commit a5cfc1fe authored by Tito Dal Canton's avatar Tito Dal Canton Committed by Alexander Pace
Browse files

Fix errors in converting UUID to string


Signed-off-by: default avatarAlexander Pace <alexander.pace@Lligo.org>
parent 55d2e191
......@@ -254,7 +254,7 @@ libxml2.debugMemory(1)
# set up the stream
# append UUID to resource to guarantee that it is non-empty and unique
myjid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4())
myjid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4().hex)
s=MyClient(jid=myjid,password=mypassword)
if opts.verbose:
......
......@@ -334,7 +334,7 @@ if opts.config_file:
# set up the stream
# append UUID to resource to guarantee that it is non-empty and unique
myjid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4())
myjid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4().hex)
s=MyClient(myjid,mypassword,actions, wait=not opts.dont_wait)
if opts.verbose:
......
......@@ -245,7 +245,7 @@ libxml2.debugMemory(1)
# Instantiate the client
# append UUID to resource to guarantee that it is non-empty and unique
jid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4())
jid=JID(myusername+"@"+opts.server+"/"+opts.resource+uuid.uuid4().hex)
client = MyClient(jid,mypassword,opts.max_attempts,onStart)
# Connect
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment