Skip to content
Snippets Groups Projects
Commit b44b9057 authored by roidelapluie's avatar roidelapluie
Browse files

[misc] Fix a coding issue. Fix #3399.

parent 388c0128
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class StanzaSession(object):
self.negotiated = {}
def generate_thread_id(self):
return "".join([random.choice(string.letters) for x in xrange(0,32)])
return "".join([random.choice(string.ascii_letters) for x in xrange(0,32)])
def send(self, msg):
if self.thread_id:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment